only focus new 'normal' windows
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/screen.cc
→
src/screen.cc
@@ -520,7 +520,8 @@
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);