]> Dogcows Code - chaz/openbox/commitdiff
if the current SN_WM owner is our window (can this happen?) then ignore it
authorDana Jansens <danakj@orodu.net>
Sat, 11 Oct 2003 03:43:18 +0000 (03:43 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 11 Oct 2003 03:43:18 +0000 (03:43 +0000)
openbox/screen.c

index d2fe9c5bc4196f2c7e30f9993d2633fcf600f6ad..05c292a2bb9f3098177d27e30d2444008b68c97a 100644 (file)
@@ -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",
This page took 0.02386 seconds and 4 git commands to generate.