]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
its G_BYTE_ORDER not G_ENDIAN.
[chaz/openbox] / openbox / event.c
index b052fe1a17d6abf0c0923c946a9f39a3bcea76d3..eea6583be8248053b456a2e1f165910ac457be31 100644 (file)
@@ -284,8 +284,6 @@ static gboolean event_ignore(XEvent *e, Client *client)
                   e->xfocus.window, e->xfocus.mode, e->xfocus.detail);
 #endif
 
-        /* Try process a FocusIn first, and if a legit one isn't found, then
-           do the fallback shiznit. */
         {
             XEvent fe;
             gboolean fallback = TRUE;
@@ -500,7 +498,7 @@ static void event_handle_client(Client *client, XEvent *e)
 #endif
         /* focus state can affect the stacking layer */
         client_calc_layer(client);
-        frame_adjust_focus(client->frame);
+        frame_adjust_focus(client->frame, e->type == FocusIn);
        break;
     case EnterNotify:
         if (client_normal(client)) {
This page took 0.021124 seconds and 4 git commands to generate.