aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LWinInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/LWinInfo.h')
-rw-r--r--lumina-desktop/LWinInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-desktop/LWinInfo.h b/lumina-desktop/LWinInfo.h
index a90b82c6..b483e87e 100644
--- a/lumina-desktop/LWinInfo.h
+++ b/lumina-desktop/LWinInfo.h
@@ -25,10 +25,12 @@
class LWinInfo{
private:
WId window;
+ LXCB::WINDOWSTATE cstate; //current window state
public:
LWinInfo(WId id = 0){
window = id;
+ cstate = LXCB::IGNORE; //make sure this gets updates with the first "status" call
}
~LWinInfo(){};
@@ -42,7 +44,7 @@ public:
QString text();
QIcon icon(bool &noicon);
QString Class();
- LXCB::WINDOWSTATE status();
+ LXCB::WINDOWSTATE status(bool update = false);
};
#endif \ No newline at end of file
bgstack15