only focus new 'normal' windows
This commit is contained in:
parent
180cdd0e91
commit
eef665c6b8
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue