]> Dogcows Code - chaz/openbox/commitdiff
only focus new 'normal' windows
authorDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 23:51:24 +0000 (23:51 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 23:51:24 +0000 (23:51 +0000)
src/screen.cc

index f44e291cee51ebbe884d3a8446854c81ff7b60ba..8ea1b49ea8a0432f48bf86ed50278a9434cbb880 100644 (file)
@@ -520,7 +520,8 @@ void OBScreen::manageWindow(Window window)
   Openbox::instance->bindings()->grabButtons(true, client);
 
   // XXX: make this optional or more intelligent
-  client->focus();
+  if (client->normal())
+    client->focus();
 
   // call the python NEWWINDOW binding
   EventData *data = new_event_data(window, EventNewWindow, 0);
This page took 0.024185 seconds and 4 git commands to generate.