From 249a8122136cc6b7f0f28cba51cbcc7dd61f059a Mon Sep 17 00:00:00 2001 From: K D Hedger Date: Mon, 16 Sep 2024 13:44:03 +0100 Subject: [PATCH] cod eclean --- LFSDock/LFSDock/src/taskBar.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/LFSDock/LFSDock/src/taskBar.cpp b/LFSDock/LFSDock/src/taskBar.cpp index f964105f..a558ab07 100644 --- a/LFSDock/LFSDock/src/taskBar.cpp +++ b/LFSDock/LFSDock/src/taskBar.cpp @@ -26,7 +26,6 @@ bool movetohere=false; std::vector holdtasks; std::vector filltasks; std::vector tasks; -LFSTK_gadgetClass *currentTask=NULL; bool compareTaskWID(const taskStruct &a,const taskStruct &b) { @@ -46,7 +45,6 @@ bool taskSwitcherExitCB(LFSTK_gadgetClass*p,void* ud) exitPopList(p,ud); inSomeWindow=false; - currentTask=NULL; dockWindow->LFSTK_redrawAllGadgets(); return(true); } @@ -91,7 +89,6 @@ bool taskSwitcherEnterCB(LFSTK_gadgetClass*p,void* ud) //XSync(apc->display,false); XFlush(apc->display); inSomeWindow=true; - currentTask=p; return(true); }