From: Mikael Magnusson Date: Wed, 22 Oct 2008 19:13:27 +0000 (+0200) Subject: Make sure the _MOTIF_WM_INFO atom exists. X-Git-Tag: backport~142 X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=commitdiff_plain;h=5b678bdfcf9e21c846d6560badd009484d174a89 Make sure the _MOTIF_WM_INFO atom exists. Without this, urxvt won't use motif hints for borderless mode. --- diff --git a/openbox/prop.c b/openbox/prop.c index 5dc4a2f..ec1ce3d 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 46c9301..644717a 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;