From 5b678bdfcf9e21c846d6560badd009484d174a89 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 22 Oct 2008 21:13:27 +0200 Subject: [PATCH] Make sure the _MOTIF_WM_INFO atom exists. Without this, urxvt won't use motif hints for borderless mode. --- openbox/prop.c | 1 + openbox/prop.h | 1 + 2 files changed, 2 insertions(+) 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;