From 34446063fa6f954f81200f2778c099865b374d2c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Oct 2003 03:43:18 +0000 Subject: [PATCH] if the current SN_WM owner is our window (can this happen?) then ignore it --- openbox/screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbox/screen.c b/openbox/screen.c index d2fe9c5b..05c292a2 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -74,6 +74,8 @@ static gboolean replace_wm() g_free(wm_sn); current_wm_sn_owner = XGetSelectionOwner(ob_display, wm_sn_atom); + if (current_wm_sn_owner == screen_support_win) + current_wm_sn_owner = None; if (current_wm_sn_owner) { if (!ob_replace_wm) { g_warning("A window manager is already running on screen %d", -- 2.39.2