aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-03-03 21:51:13 (GMT)
committerrathnor <rathnor>2003-03-03 21:51:13 (GMT)
commit19875e5a5ba474387971ede597cdc4aa7454d4c0 (patch)
tree99d672abcffa86d74734deacbd888eccde02ffd2 /src/Ewmh.hh
parent824fd0db7a4b8117fecba9bb46053bdd38691803 (diff)
downloadfluxbox_pavel-19875e5a5ba474387971ede597cdc4aa7454d4c0.zip
fluxbox_pavel-19875e5a5ba474387971ede597cdc4aa7454d4c0.tar.bz2
Add code for toolbar modes
Diffstat (limited to 'src/Ewmh.hh')
-rw-r--r--src/Ewmh.hh18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/Ewmh.hh b/src/Ewmh.hh
index 74b201c..b21e4a4 100644
--- a/src/Ewmh.hh
+++ b/src/Ewmh.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Ewmh.hh,v 1.5 2003/02/02 16:32:37 rathnor Exp $ 22// $Id: Ewmh.hh,v 1.6 2003/03/03 21:51:00 rathnor Exp $
23 23
24#include "AtomHandler.hh" 24#include "AtomHandler.hh"
25 25
@@ -31,13 +31,13 @@ public:
31 31
32 Ewmh(); 32 Ewmh();
33 ~Ewmh(); 33 ~Ewmh();
34 void initForScreen(const BScreen &screen); 34 void initForScreen(BScreen &screen);
35 void setupWindow(FluxboxWindow &win); 35 void setupWindow(FluxboxWindow &win);
36 36
37 void updateClientList(const BScreen &screen); 37 void updateClientList(BScreen &screen);
38 void updateWorkspaceNames(const BScreen &screen); 38 void updateWorkspaceNames(BScreen &screen);
39 void updateCurrentWorkspace(const BScreen &screen); 39 void updateCurrentWorkspace(BScreen &screen);
40 void updateWorkspaceCount(const BScreen &screen); 40 void updateWorkspaceCount(BScreen &screen);
41 41
42 void updateState(FluxboxWindow &win); 42 void updateState(FluxboxWindow &win);
43 void updateLayer(FluxboxWindow &win); 43 void updateLayer(FluxboxWindow &win);
@@ -46,7 +46,11 @@ public:
46 46
47 47
48 bool checkClientMessage(const XClientMessageEvent &ce, 48 bool checkClientMessage(const XClientMessageEvent &ce,
49 BScreen * const screen, FluxboxWindow * const win); 49 BScreen * screen, FluxboxWindow * const win);
50
51 //ignore these ones
52 void updateWindowClose(FluxboxWindow &win) {}
53
50private: 54private:
51 55
52 enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2}; 56 enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2};