diff options
author | fluxgen <fluxgen> | 2002-08-14 21:59:28 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-08-14 21:59:28 (GMT) |
commit | ab4fef4450d40364cd97f7ad2af227cb957014c3 (patch) | |
tree | f0eeb6b37751af76abc64d0bfe72dada28ab8429 /src/Netizen.hh | |
parent | 238526bd48a9318672f8e2c20e8a3b3dbf16927d (diff) | |
download | fluxbox_pavel-ab4fef4450d40364cd97f7ad2af227cb957014c3.zip fluxbox_pavel-ab4fef4450d40364cd97f7ad2af227cb957014c3.tar.bz2 |
change to singleton fbatoms
Diffstat (limited to 'src/Netizen.hh')
-rw-r--r-- | src/Netizen.hh | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/src/Netizen.hh b/src/Netizen.hh index c9460bb..948d0d2 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh | |||
@@ -1,3 +1,5 @@ | |||
1 | // Netizen.hh for Fluxbox | ||
2 | // Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org) | ||
1 | // Netizen.hh for Blackbox - An X11 Window Manager | 3 | // Netizen.hh for Blackbox - An X11 Window Manager |
2 | // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) | 4 | // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) |
3 | // | 5 | // |
@@ -22,34 +24,29 @@ | |||
22 | #ifndef NETIZEN_HH | 24 | #ifndef NETIZEN_HH |
23 | #define NETIZEN_HH | 25 | #define NETIZEN_HH |
24 | 26 | ||
25 | // forward declaration | ||
26 | class Netizen; | ||
27 | |||
28 | #include <X11/Xlib.h> | 27 | #include <X11/Xlib.h> |
29 | 28 | ||
30 | #include "BaseDisplay.hh" | 29 | class BScreen; |
31 | #include "Screen.hh" | ||
32 | |||
33 | 30 | ||
34 | class Netizen { | 31 | class Netizen { |
35 | public: | 32 | public: |
36 | Netizen(BScreen *, Window); | 33 | Netizen(BScreen *scr, Window w); |
37 | 34 | ||
38 | inline const Window &getWindowID(void) const { return window; } | 35 | inline Window getWindowID() const { return window; } |
39 | 36 | ||
40 | void sendWorkspaceCount(void); | 37 | void sendWorkspaceCount(); |
41 | void sendCurrentWorkspace(void); | 38 | void sendCurrentWorkspace(); |
42 | 39 | ||
43 | void sendWindowFocus(Window); | 40 | void sendWindowFocus(Window w); |
44 | void sendWindowAdd(Window, unsigned long); | 41 | void sendWindowAdd(Window w, unsigned long p); |
45 | void sendWindowDel(Window); | 42 | void sendWindowDel(Window w); |
46 | void sendWindowRaise(Window); | 43 | void sendWindowRaise(Window w); |
47 | void sendWindowLower(Window); | 44 | void sendWindowLower(Window w); |
48 | 45 | ||
49 | void sendConfigNotify(XEvent *); | 46 | void sendConfigNotify(XEvent *xe); |
50 | private: | 47 | private: |
51 | BScreen *screen; | 48 | BScreen *screen; |
52 | BaseDisplay *basedisplay; | 49 | Display *m_display; ///< display connection |
53 | Window window; | 50 | Window window; |
54 | XEvent event; | 51 | XEvent event; |
55 | 52 | ||