aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp')
-rw-r--r--lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
index c46c29b4..7dba1352 100644
--- a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
+++ b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
@@ -87,7 +87,7 @@ void LTaskButton::UpdateButton(){
LWINLIST = WINLIST;
winMenu->clear();
- LXCB::WINDOWSTATE showstate = LXCB::IGNORE;
+ LXCB::WINDOWVISIBILITY showstate = LXCB::IGNORE;
for(int i=0; i<WINLIST.length(); i++){
if(WINLIST[i].windowID() == 0){
WINLIST.removeAt(i);
@@ -108,7 +108,7 @@ void LTaskButton::UpdateButton(){
bool junk;
QAction *tmp = winMenu->addAction( WINLIST[i].icon(junk), WINLIST[i].text() );
tmp->setData(i); //save which number in the WINLIST this entry is for
- LXCB::WINDOWSTATE stat = WINLIST[i].status(true); //update the saved state for the window
+ LXCB::WINDOWVISIBILITY stat = WINLIST[i].status(true); //update the saved state for the window
if(stat<LXCB::ACTIVE && WINLIST[i].windowID() == LSession::handle()->activeWindow()){ stat = LXCB::ACTIVE; }
if(stat > showstate){ showstate = stat; } //higher priority
bgstack15