]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
add the activate action. it will replace the focus action, as it can just focus witho...
[chaz/openbox] / openbox / event.c
index cd66014b89a271a8bbb2dc1ff089618b56415fc0..ab4e8f9a6b6e17faf429dc1b481df92a11db6a5a 100644 (file)
@@ -1219,7 +1219,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
                                        it can happen now when the window is on
                                        another desktop, but we still don't
                                        want it! */
-        client_activate(client, FALSE, TRUE);
+        client_activate(client, FALSE, TRUE, TRUE, TRUE);
         break;
     case ClientMessage:
         /* validate cuz we query stuff off the client here */
@@ -1297,7 +1297,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
                 ob_debug_type(OB_DEBUG_APP_BUGS,
                               "_NET_ACTIVE_WINDOW message for window %s is "
                               "missing source indication\n");
-            client_activate(client, FALSE,
+            client_activate(client, FALSE, TRUE, TRUE,
                             (e->xclient.data.l[0] == 0 ||
                              e->xclient.data.l[0] == 2));
         } else if (msgtype == prop_atoms.net_wm_moveresize) {
This page took 0.021219 seconds and 4 git commands to generate.