From: Dana Jansens Date: Sat, 11 Oct 2003 03:43:18 +0000 (+0000) Subject: if the current SN_WM owner is our window (can this happen?) then ignore it X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;ds=sidebyside;h=34446063fa6f954f81200f2778c099865b374d2c;p=chaz%2Fopenbox if the current SN_WM owner is our window (can this happen?) then ignore it --- 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",