summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c
index e905a6f9..f1dc11aa 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -272,6 +272,8 @@ void client_manage(Window window)
(self->type == OB_CLIENT_TYPE_NORMAL ||
self->type == OB_CLIENT_TYPE_DIALOG))
{
+ activate = TRUE;
+#if 0
if (self->desktop != screen_desktop) {
/* activate the window */
activate = TRUE;
@@ -301,6 +303,7 @@ void client_manage(Window window)
activate = TRUE;
}
}
+#endif
}
dispatch_client(Event_Client_New, self, 0, 0);