aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/Ewmh.hh
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/Ewmh.hh')
-rw-r--r--src/Ewmh.hh66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/Ewmh.hh b/src/Ewmh.hh
index b3f8154..1562248 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.3 2002/10/16 19:02:25 fluxgen Exp $ 22// $Id: Ewmh.hh,v 1.4 2002/12/01 13:41:56 rathnor Exp $
23 23
24#include "AtomHandler.hh" 24#include "AtomHandler.hh"
25 25
@@ -29,48 +29,48 @@
29class Ewmh:public AtomHandler { 29class Ewmh:public AtomHandler {
30public: 30public:
31 31
32 Ewmh(); 32 Ewmh();
33 ~Ewmh(); 33 ~Ewmh();
34 void initForScreen(const BScreen &screen); 34 void initForScreen(const BScreen &screen);
35 void setupWindow(FluxboxWindow &win); 35 void setupWindow(FluxboxWindow &win);
36 36
37 void updateClientList(const BScreen &screen); 37 void updateClientList(const BScreen &screen);
38 void updateWorkspaceNames(const BScreen &screen); 38 void updateWorkspaceNames(const BScreen &screen);
39 void updateCurrentWorkspace(const BScreen &screen); 39 void updateCurrentWorkspace(const BScreen &screen);
40 void updateWorkspaceCount(const BScreen &screen); 40 void updateWorkspaceCount(const BScreen &screen);
41 41
42 void updateState(FluxboxWindow &win); 42 void updateState(FluxboxWindow &win);
43 void updateHints(FluxboxWindow &win); 43 void updateHints(FluxboxWindow &win);
44 void updateWorkspace(FluxboxWindow &win); 44 void updateWorkspace(FluxboxWindow &win);
45 45
46 46
47 bool checkClientMessage(const XClientMessageEvent &ce, 47 bool checkClientMessage(const XClientMessageEvent &ce,
48 BScreen * const screen, FluxboxWindow * const win); 48 BScreen * const screen, FluxboxWindow * const win);
49private: 49private:
50 50
51 enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2}; 51 enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2};
52 52
53 void setState(FluxboxWindow &win, Atom state, bool value) const; 53 void setState(FluxboxWindow &win, Atom state, bool value) const;
54 void toggleState(FluxboxWindow &win, Atom state) const; 54 void toggleState(FluxboxWindow &win, Atom state) const;
55 void createAtoms(); 55 void createAtoms();
56 56
57 // root window properties 57 // root window properties
58 Atom m_net_supported, m_net_client_list, m_net_client_list_stacking, 58 Atom m_net_supported, m_net_client_list, m_net_client_list_stacking,
59 m_net_number_of_desktops, m_net_desktop_geometry, m_net_desktop_viewport, 59 m_net_number_of_desktops, m_net_desktop_geometry, m_net_desktop_viewport,
60 m_net_current_desktop, m_net_desktop_names, m_net_active_window, m_net_workarea, 60 m_net_current_desktop, m_net_desktop_names, m_net_active_window, m_net_workarea,
61 m_net_supporting_wm_check, m_net_virtual_roots, m_net_moveresize_window; 61 m_net_supporting_wm_check, m_net_virtual_roots, m_net_moveresize_window;
62 62
63 // root window messages 63 // root window messages
64 Atom m_net_close_window, m_net_wm_moveresize; 64 Atom m_net_close_window, m_net_wm_moveresize;
65 65
66 // application window properties 66 // application window properties
67 Atom m_net_properties, m_net_wm_name, m_net_wm_desktop, m_net_wm_window_type, 67 Atom m_net_properties, m_net_wm_name, m_net_wm_desktop, m_net_wm_window_type,
68 m_net_wm_state, m_net_wm_state_sticky, m_net_wm_state_shaded, 68 m_net_wm_state, m_net_wm_state_sticky, m_net_wm_state_shaded,
69 m_net_wm_strut, m_net_wm_icon_geometry, m_net_wm_icon, m_net_wm_pid, 69 m_net_wm_strut, m_net_wm_icon_geometry, m_net_wm_icon, m_net_wm_pid,
70 m_net_wm_handled_icons; 70 m_net_wm_handled_icons;
71 71
72 // application protocols 72 // application protocols
73 Atom m_net_wm_ping; 73 Atom m_net_wm_ping;
74 74
75 std::vector<Window> m_windows; 75 std::vector<Window> m_windows;
76}; 76};