From: Dana Jansens Date: Sat, 4 Jan 2003 23:51:24 +0000 (+0000) Subject: only focus new 'normal' windows X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=eef665c6b899cea2598b4b5cbfc4129dcf90287f;hp=180cdd0e91799458552f581327a67be745909134;p=chaz%2Fopenbox only focus new 'normal' windows --- 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);