Make sure the _MOTIF_WM_INFO atom exists.
authorMikael Magnusson <mikachu@gmail.com>
Wed, 22 Oct 2008 19:13:27 +0000 (21:13 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Wed, 22 Oct 2008 19:13:27 +0000 (21:13 +0200)
Without this, urxvt won't use motif hints for borderless mode.

openbox/prop.c
openbox/prop.h

index 5dc4a2f..ec1ce3d 100644 (file)
@@ -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");
 
index 46c9301..644717a 100644 (file)
@@ -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;