summaryrefslogtreecommitdiff
path: root/openbox/prop.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-19 23:59:40 -0500
committerDana Jansens <danakj@orodu.net>2008-01-19 23:59:40 -0500
commit3ae58f457bcdfa90b26dad4c9d192f045874ddae (patch)
tree23d603a47cfedc8e51cf36bf3480f83118b94710 /openbox/prop.h
parent2b8b5da04b14af1639143cc332874c7e1a03a8bb (diff)
parent4b41ac8343efa21a959d81a4db8aea32e5960f10 (diff)
Merge branch 'backport'
Diffstat (limited to 'openbox/prop.h')
-rw-r--r--openbox/prop.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/openbox/prop.h b/openbox/prop.h
index f0c4f5e9..5ca70470 100644
--- a/openbox/prop.h
+++ b/openbox/prop.h
@@ -129,14 +129,14 @@ typedef struct Atoms {
Atom net_wm_strut_partial;
Atom net_wm_icon;
Atom net_wm_icon_geometry;
-/* Atom net_wm_pid; */
+ Atom net_wm_pid;
Atom net_wm_allowed_actions;
Atom net_wm_user_time;
/* Atom net_wm_user_time_window; */
Atom net_frame_extents;
/* application protocols */
-/* Atom net_wm_ping; */
+ Atom net_wm_ping;
#ifdef SYNC
Atom net_wm_sync_request;
Atom net_wm_sync_request_counter;
@@ -196,7 +196,7 @@ typedef struct Atoms {
Atom ob_theme;
Atom ob_control;
} Atoms;
-Atoms prop_atoms;
+extern Atoms prop_atoms;
void prop_startup();
@@ -218,6 +218,9 @@ void prop_erase(Window win, Atom prop);
void prop_message(Window about, Atom messagetype, glong data0, glong data1,
glong data2, glong data3, glong mask);
+void prop_message_to(Window to, Window about, Atom messagetype,
+ glong data0, glong data1, glong data2,
+ glong data3, glong data4, glong mask);
#define PROP_GET32(win, prop, type, ret) \
(prop_get32(win, prop_atoms.prop, prop_atoms.type, ret))
@@ -244,4 +247,9 @@ void prop_message(Window about, Atom messagetype, glong data0, glong data1,
(prop_message(about, prop_atoms.msgtype, data0, data1, data2, data3, \
SubstructureNotifyMask | SubstructureRedirectMask))
+#define PROP_MSG_TO(to, about, msgtype, data0, data1, data2, data3, data4, \
+ mask) \
+ (prop_message_to(to, about, prop_atoms.msgtype, \
+ data0, data1, data2, data3, data4, mask))
+
#endif