diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 23:51:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 23:51:24 +0000 |
| commit | eef665c6b899cea2598b4b5cbfc4129dcf90287f (patch) | |
| tree | e46763623104f9815f778347736303677759c04a | |
| parent | 180cdd0e91799458552f581327a67be745909134 (diff) | |
only focus new 'normal' windows
| -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); |
