]> Dogcows Code - chaz/openbox/blobdiff - openbox/prop.h
no more interactive mouse actions, they are evil etc. actions now "feel" much more...
[chaz/openbox] / openbox / prop.h
index e7c861c55f37522f21835f6df32d0fc573d2ee7f..a9d1b573249fa55fdf994f54eac31410a581408b 100644 (file)
@@ -17,6 +17,9 @@ typedef struct Atoms {
     Atom string;   /*!< The atom which represents ascii strings */
     Atom utf8;     /*!< The atom which represents utf8-encoded strings */
 
+    /* selection stuff */
+    Atom manager;
+
     /* window hints */
     Atom wm_colormap_windows;
     Atom wm_protocols;
@@ -30,6 +33,9 @@ typedef struct Atoms {
     Atom wm_window_role;
     Atom motif_wm_hints;
 
+    /* SM atoms */
+    Atom sm_client_id;
+
     /* NETWM atoms */
      
     /* root window properties */
@@ -49,6 +55,11 @@ typedef struct Atoms {
     /* root window messages */
     Atom net_close_window;
     Atom net_wm_moveresize;
+    Atom net_moveresize_window;
+
+    /* startup-notification extension */
+    Atom net_startup_id;
+
     /* application window properties */
     Atom net_wm_name;
     Atom net_wm_visible_name;
@@ -58,6 +69,7 @@ typedef struct Atoms {
     Atom net_wm_window_type;
     Atom net_wm_state;
     Atom net_wm_strut;
+    Atom net_wm_strut_partial;
     Atom net_wm_icon;
 /*  Atom net_wm_pid; */
     Atom net_wm_allowed_actions;
@@ -73,11 +85,17 @@ typedef struct Atoms {
     Atom net_wm_window_type_dialog;
     Atom net_wm_window_type_normal;
 
-    Atom net_wm_moveresize_size_topleft;
+    Atom net_wm_moveresize_size_topleft; 
+    Atom net_wm_moveresize_size_top;
     Atom net_wm_moveresize_size_topright;
-    Atom net_wm_moveresize_size_bottomleft;
+    Atom net_wm_moveresize_size_right;
     Atom net_wm_moveresize_size_bottomright;
+    Atom net_wm_moveresize_size_bottom;
+    Atom net_wm_moveresize_size_bottomleft;
+    Atom net_wm_moveresize_size_left;
     Atom net_wm_moveresize_move;
+    Atom net_wm_moveresize_size_keyboard;
+    Atom net_wm_moveresize_move_keyboard;
 
     Atom net_wm_action_move;
     Atom net_wm_action_resize;
@@ -150,12 +168,12 @@ void prop_set_strings_utf8(Window win, Atom prop, char **strs);
 void prop_erase(Window win, Atom prop);
 
 void prop_message(Window about, Atom messagetype, long data0, long data1,
-                 long data2, long data3);
+                 long data2, long data3, long mask);
 
 #define PROP_GET32(win, prop, type, ret) \
-    (prop_get32(win, prop_atoms.prop, prop_atoms.type, (guint32*)ret))
+    (prop_get32(win, prop_atoms.prop, prop_atoms.type, ret))
 #define PROP_GETA32(win, prop, type, ret, nret) \
-    (prop_get_array32(win, prop_atoms.prop, prop_atoms.type, (guint32**)ret, \
+    (prop_get_array32(win, prop_atoms.prop, prop_atoms.type, ret, \
                       nret))
 #define PROP_GETS(win, prop, type, ret) \
     (prop_get_string_##type(win, prop_atoms.prop, ret))
@@ -165,7 +183,7 @@ void prop_message(Window about, Atom messagetype, long data0, long data1,
 #define PROP_SET32(win, prop, type, val) \
     prop_set32(win, prop_atoms.prop, prop_atoms.type, val)
 #define PROP_SETA32(win, prop, type, val, num) \
-    prop_set_array32(win, prop_atoms.prop, prop_atoms.type, (guint32*)val, num)
+    prop_set_array32(win, prop_atoms.prop, prop_atoms.type, val, num)
 #define PROP_SETS(win, prop, val) \
     prop_set_string_utf8(win, prop_atoms.prop, val)
 #define PROP_SETSS(win, prop, strs) \
@@ -174,6 +192,7 @@ void prop_message(Window about, Atom messagetype, long data0, long data1,
 #define PROP_ERASE(win, prop) prop_erase(win, prop_atoms.prop)
 
 #define PROP_MSG(about, msgtype, data0, data1, data2, data3) \
-  (prop_message(about, prop_atoms.msgtype, data0, data1, data2, data3))
+  (prop_message(about, prop_atoms.msgtype, data0, data1, data2, data3, \
+                SubstructureNotifyMask | SubstructureRedirectMask))
 
 #endif
This page took 0.027219 seconds and 4 git commands to generate.