diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-23 10:18:21 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-23 10:18:21 -0400 |
commit | 6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0 (patch) | |
tree | 6b45668c064ea979f5df868e856988cf60dd0d3e /lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp | |
parent | Make the open/openwith functionality in lumina-fm multi-selection aware. Also... (diff) | |
parent | Update the Fluxbox startup command to use the new "-no-slit" and "-no-toolbar... (diff) | |
download | lumina-6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0.tar.gz lumina-6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0.tar.bz2 lumina-6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0.zip |
Merge branch 'master' of github.com:pcbsd/lumina
Diffstat (limited to 'lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp')
-rw-r--r-- | lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp index 20607c60..eda1f2cd 100644 --- a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp +++ b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp @@ -193,9 +193,9 @@ void LTaskButton::minimizeWindow(){ void LTaskButton::triggerWindow(){ LWinInfo win = currentWindow(); //Check which state the window is currently in and flip it to the other - LXCB::WINDOWSTATE state = cstate; - if(DEBUG){ qDebug() << "Window State: " << state; } - if(state == LXCB::ACTIVE){ + //LXCB::WINDOWSTATE state = cstate; + //if(DEBUG){ qDebug() << "Window State: " << state; } + if(cstate == LXCB::ACTIVE){ if(DEBUG){ qDebug() << "Minimize Window:" << this->text(); } LSession::handle()->XCB->MinimizeWindow(win.windowID()); QTimer::singleShot(100, this, SLOT(UpdateButton()) ); //make sure to update this button if losing active status |