]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
make focuslast only apply to switching desktops, like 3.3.1
[chaz/openbox] / openbox / event.c
index 3bfca98e6e28ca344ab1c5296de6b58d18ad1497..9eaec027758df48d3ec127fa2bd533a07fa9fd81 100644 (file)
@@ -516,7 +516,7 @@ static void event_process(const XEvent *ec, gpointer data)
                 */
 
                 if (!focus_left_screen)
-                    focus_fallback(TRUE);
+                    focus_fallback(TRUE, FALSE);
             }
         }
         else if (!client)
@@ -570,7 +570,7 @@ static void event_process(const XEvent *ec, gpointer data)
                 ob_debug_type(OB_DEBUG_FOCUS,
                               "Focus went to an unmanaged window 0x%x !\n",
                               ce.xfocus.window);
-                focus_fallback(TRUE);
+                focus_fallback(TRUE, FALSE);
             }
         }
 
@@ -1455,6 +1455,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
             client_update_sync_request_counter(client);
         }
 #endif
+        break;
     case ColormapNotify:
         client_update_colormap(client, e->xcolormap.colormap);
         break;
This page took 0.025393 seconds and 4 git commands to generate.