diff options
| -rw-r--r-- | src/screen.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.cc b/src/screen.cc index f44e291c..8ea1b49e 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -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); |
