aboutsummaryrefslogtreecommitdiff
path: root/src/FbAtoms.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-10-13 21:51:37 (GMT)
committermarkt <markt>2007-10-13 21:51:37 (GMT)
commita59428d67a95a9df16554962f0a6257d6378328a (patch)
treef856ed9300c34f7a17d499f22d895610cfbc08e5 /src/FbAtoms.hh
parent41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff)
downloadfluxbox-a59428d67a95a9df16554962f0a6257d6378328a.zip
fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2
merged changes from pre-devel
Diffstat (limited to 'src/FbAtoms.hh')
-rw-r--r--src/FbAtoms.hh41
1 files changed, 1 insertions, 40 deletions
diff --git a/src/FbAtoms.hh b/src/FbAtoms.hh
index 5e8e75f..0f2e147 100644
--- a/src/FbAtoms.hh
+++ b/src/FbAtoms.hh
@@ -40,57 +40,18 @@ public:
40 inline Atom getWMProtocolsAtom() const { return xa_wm_protocols; } 40 inline Atom getWMProtocolsAtom() const { return xa_wm_protocols; }
41 inline Atom getWMTakeFocusAtom() const { return xa_wm_take_focus; } 41 inline Atom getWMTakeFocusAtom() const { return xa_wm_take_focus; }
42 42
43 // this atom is for normal app->WM hints about decorations, stacking,
44 // starting workspace etc...
45 inline Atom getFluxboxHintsAtom() const { return blackbox_hints;}
46 inline Atom getMWMHintsAtom() const { return motif_wm_hints; } 43 inline Atom getMWMHintsAtom() const { return motif_wm_hints; }
47 44
48 // these atoms are for normal app->WM interaction beyond the scope of the 45 // these atoms are for normal app->WM interaction beyond the scope of the
49 // ICCCM... 46 // ICCCM...
50 inline Atom getFluxboxAttributesAtom() const { return blackbox_attributes; } 47 inline Atom getFluxboxAttributesAtom() const { return blackbox_attributes; }
51 inline Atom getFluxboxChangeAttributesAtom() const { return blackbox_change_attributes; }
52
53 // these atoms are for window->WM interaction, with more control and
54 // information on window "structure"... common examples are
55 // notifying apps when windows are raised/lowered... when the user changes
56 // workspaces... i.e. "pager talk"
57 inline Atom getFluxboxStructureMessagesAtom() const{ return blackbox_structure_messages; }
58
59 // *Notify* portions of the NETStructureMessages protocol
60 inline Atom getFluxboxNotifyStartupAtom() const { return blackbox_notify_startup; }
61 inline Atom getFluxboxNotifyWindowAddAtom() const { return blackbox_notify_window_add; }
62 inline Atom getFluxboxNotifyWindowDelAtom() const { return blackbox_notify_window_del; }
63 inline Atom getFluxboxNotifyWindowFocusAtom() const { return blackbox_notify_window_focus; }
64 inline Atom getFluxboxNotifyCurrentWorkspaceAtom() const { return blackbox_notify_current_workspace; }
65 inline Atom getFluxboxNotifyWorkspaceCountAtom() const { return blackbox_notify_workspace_count; }
66 inline Atom getFluxboxNotifyWindowRaiseAtom() const { return blackbox_notify_window_raise; }
67 inline Atom getFluxboxNotifyWindowLowerAtom() const { return blackbox_notify_window_lower; }
68
69 // atoms to change that request changes to the desktop environment during
70 // runtime... these messages can be sent by any client... as the sending
71 // client window id is not included in the ClientMessage event...
72 inline Atom getFluxboxChangeWorkspaceAtom() const { return blackbox_change_workspace; }
73 inline Atom getFluxboxChangeWindowFocusAtom() const { return blackbox_change_window_focus; }
74 inline Atom getFluxboxCycleWindowFocusAtom() const { return blackbox_cycle_window_focus; }
75 48
76private: 49private:
77 void initAtoms(); 50 void initAtoms();
78// NETAttributes 51// NETAttributes
79 Atom blackbox_attributes, blackbox_change_attributes, blackbox_hints; 52 Atom blackbox_attributes;
80
81 Atom motif_wm_hints; 53 Atom motif_wm_hints;
82 54
83 // NETStructureMessages
84 Atom blackbox_structure_messages, blackbox_notify_startup,
85 blackbox_notify_window_add, blackbox_notify_window_del,
86 blackbox_notify_window_focus, blackbox_notify_current_workspace,
87 blackbox_notify_workspace_count, blackbox_notify_window_raise,
88 blackbox_notify_window_lower;
89
90 // message_types for client -> wm messages
91 Atom blackbox_change_workspace, blackbox_change_window_focus,
92 blackbox_cycle_window_focus;
93
94 Atom xa_wm_protocols, xa_wm_state, 55 Atom xa_wm_protocols, xa_wm_state,
95 xa_wm_delete_window, xa_wm_take_focus, xa_wm_change_state; 56 xa_wm_delete_window, xa_wm_take_focus, xa_wm_change_state;
96 57