]> Dogcows Code - chaz/openbox/commitdiff
hilite the focus target before xsyncing in the ignore enter stuff, so less flicker
authorDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 16:49:13 +0000 (16:49 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 16:49:13 +0000 (16:49 +0000)
openbox/screen.c

index 2d34f2632cd07060886f94b0dd0e6f16167999a5..c6a6b0e5aa7e339f326d54f985cfae0541e7b3a9 100644 (file)
@@ -459,8 +459,6 @@ void screen_set_desktop(guint num)
         }
     }
 
-    event_ignore_queued_enters();
-
     focus_hilite = focus_fallback_target(TRUE, focus_client);
     if (focus_hilite) {
         frame_adjust_focus(focus_hilite->frame, TRUE);
@@ -474,6 +472,8 @@ void screen_set_desktop(guint num)
         /*if (!focus_client)*/
         client_focus(focus_hilite);
     }
+
+    event_ignore_queued_enters();
 }
 
 static void get_row_col(guint d, guint *r, guint *c)
This page took 0.022593 seconds and 4 git commands to generate.