]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
when you focus a window, bring any modal children it has to that desktop
[chaz/openbox] / openbox / focus.c
index 59dd0d0d4f8eccbb230cdeb9ff53781e36493fe5..87f589f2d055cc24eeb2dc400662e24e20beb7c5 100644 (file)
@@ -166,6 +166,8 @@ ObClient* focus_fallback(gboolean allow_refocus, gboolean allow_pointer)
     focus_nothing();
 
     new = focus_fallback_target(allow_refocus, allow_pointer, old);
+    /* get what was really focused */
+    if (new) new = client_focus_target(new);
 
     return new;
 }
This page took 0.020168 seconds and 4 git commands to generate.