summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2008-10-22 21:13:27 +0200
committerMikael Magnusson <mikachu@gmail.com>2008-10-22 21:13:27 +0200
commit5b678bdfcf9e21c846d6560badd009484d174a89 (patch)
tree0cfe8e2708cbb2501083262b4f63bbe3a7f5f620
parent42a6e55d1eecd5a10c1ca487e51f69e926aa5291 (diff)
Make sure the _MOTIF_WM_INFO atom exists.
Without this, urxvt won't use motif hints for borderless mode.
-rw-r--r--openbox/prop.c1
-rw-r--r--openbox/prop.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbox/prop.c b/openbox/prop.c
index 5dc4a2fa..ec1ce3db 100644
--- a/openbox/prop.c
+++ b/openbox/prop.c
@@ -53,6 +53,7 @@ void prop_startup(void)
CREATE(wm_client_leader, "WM_CLIENT_LEADER");
CREATE(wm_transient_for, "WM_TRANSIENT_FOR");
CREATE(motif_wm_hints, "_MOTIF_WM_HINTS");
+ CREATE(motif_wm_info, "_MOTIF_WM_INFO");
CREATE(sm_client_id, "SM_CLIENT_ID");
diff --git a/openbox/prop.h b/openbox/prop.h
index 46c93017..644717a2 100644
--- a/openbox/prop.h
+++ b/openbox/prop.h
@@ -55,6 +55,7 @@ typedef struct Atoms {
Atom wm_client_leader;
Atom wm_transient_for;
Atom motif_wm_hints;
+ Atom motif_wm_info;
/* SM atoms */
Atom sm_client_id;