From eef665c6b899cea2598b4b5cbfc4129dcf90287f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 4 Jan 2003 23:51:24 +0000 Subject: [PATCH] only focus new 'normal' windows --- src/screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.45.2