summaryrefslogtreecommitdiff
path: root/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp70
1 files changed, 43 insertions, 27 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 869bb33..9761055 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -48,42 +48,48 @@ namespace Aquamarine
namespace Atoms
{
- Atom select_window;
+ Atom select_window;
- Atom manager;
- Atom targets;
- Atom multiple;
- Atom timestamp;
- Atom version;
- Atom atom_pair;
+ Atom manager;
+ Atom targets;
+ Atom multiple;
+ Atom timestamp;
+ Atom version;
+ Atom atom_pair;
- Atom opacity;
- Atom saturation;
- Atom brightness;
+ Atom opacity;
+ Atom saturation;
+ Atom brightness;
- Atom utf8_string;
+ Atom utf8_string;
- Atom dm_name;
- Atom dm_sn;
+ Atom dm_name;
+ Atom dm_sn;
- Atom net_frame_window;
- Atom net_window_decor;
- Atom net_wm_moveresize;
+ Atom net_frame_window;
+ Atom net_window_decor;
+ Atom net_wm_moveresize;
- Atom wm_delete_window;
- Atom wm_take_focus;
- Atom net_wm_context_help;
- Atom net_wm_ping;
- Atom net_wm_take_activity;
- Atom wm_protocols;
+ Atom wm_delete_window;
+ Atom wm_take_focus;
+ Atom net_wm_context_help;
+ Atom net_wm_ping;
+ Atom net_wm_take_activity;
+ Atom wm_protocols;
- Atom net_desktop_viewport;
- Atom net_desktop_geometry;
+ Atom net_desktop_viewport;
+ Atom net_desktop_geometry;
- Atom wm_name;
- Atom wm_sn;
+ Atom wm_name;
+ Atom wm_sn;
- Atom change_frame_window;
+ Atom change_frame_window;
+
+ Atom toolkitActionAtom;
+ Atom toolkitActionWindowMenuAtom;
+ Atom toolkitActionMainMenuAtom;
+ Atom toolkitActionRunDialogAtom;
+ Atom toolkitActionForceQuitDialogAtom;
}
}
@@ -515,4 +521,14 @@ Aquamarine::Atoms::init ()
change_frame_window =
XInternAtom (xdisplay, "_BERYL_CHANGE_FRAME_WINDOW", false);
+ toolkitActionAtom = XInternAtom (xdisplay, "_COMPIZ_TOOLKIT_ACTION", false);
+ toolkitActionWindowMenuAtom =
+ XInternAtom (xdisplay, "_COMPIZ_TOOLKIT_ACTION_WINDOW_MENU", false);
+ toolkitActionMainMenuAtom =
+ XInternAtom (xdisplay, "_COMPIZ_TOOLKIT_ACTION_MAIN_MENU", false);
+ toolkitActionRunDialogAtom =
+ XInternAtom (xdisplay, "_COMPIZ_TOOLKIT_ACTION_RUN_DIALOG", false);
+ toolkitActionForceQuitDialogAtom =
+ XInternAtom (xdisplay, "_COMPIZ_TOOLKIT_ACTION_FORCE_QUIT_DIALOG", false);
+
}