make _NET_WM_ACTIVATE messages bring the client to the current desktop
authorDana Jansens <danakj@orodu.net>
Sat, 11 Oct 2003 07:40:27 +0000 (07:40 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 11 Oct 2003 07:40:27 +0000 (07:40 +0000)
openbox/event.c

index 6df7098..9f11535 100644 (file)
@@ -829,7 +829,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
         ob_debug("MapRequest for 0x%lx\n", client->window);
         if (!client->iconic) break; /* this normally doesn't happen, but if it
                                        does, we don't want it! */
-        client_activate(client, FALSE);
+        client_activate(client, TRUE);
         break;
     case ClientMessage:
         /* validate cuz we query stuff off the client here */