aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/LTBWidget.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-11-12 14:25:06 -0500
committerKen Moore <moorekou@gmail.com>2015-11-12 14:25:06 -0500
commitac4dd2a253d5e7aa5972d80d49cf643ac0111e6a (patch)
tree76514186dd518c14203f812917a02ec0dd50a8fb /lumina-desktop/panel-plugins/LTBWidget.h
parentRemove a geometry-match condition when re-loading the desktop canvas's. This ... (diff)
downloadlumina-ac4dd2a253d5e7aa5972d80d49cf643ac0111e6a.tar.gz
lumina-ac4dd2a253d5e7aa5972d80d49cf643ac0111e6a.tar.bz2
lumina-ac4dd2a253d5e7aa5972d80d49cf643ac0111e6a.zip
Add a couple more XCB EWMH functions. One change required a re-definition of an enumeration (WINDOWSTATE -> WINDOWVISIBILITY), so I fixed the usage of that enum in the lumina-desktop project as well.
Diffstat (limited to 'lumina-desktop/panel-plugins/LTBWidget.h')
-rw-r--r--lumina-desktop/panel-plugins/LTBWidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/LTBWidget.h b/lumina-desktop/panel-plugins/LTBWidget.h
index 53ea1be0..560e5811 100644
--- a/lumina-desktop/panel-plugins/LTBWidget.h
+++ b/lumina-desktop/panel-plugins/LTBWidget.h
@@ -18,7 +18,7 @@ class LTBWidget : public QToolButton{
Q_OBJECT
private:
- LXCB::WINDOWSTATE cstate;
+ LXCB::WINDOWVISIBILITY cstate;
//QString rawstyle;
void updateBackground(){
//QString background = "background: transparent; "; //default value
@@ -52,7 +52,7 @@ public:
~LTBWidget(){
}
- void setState(LXCB::WINDOWSTATE newstate){
+ void setState(LXCB::WINDOWVISIBILITY newstate){
cstate = newstate;
updateBackground();
}
bgstack15