projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180cdd0
)
only focus new 'normal' windows
author
Dana Jansens
<danakj@orodu.net>
Sat, 4 Jan 2003 23:51:24 +0000
(23:51 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 4 Jan 2003 23:51:24 +0000
(23:51 +0000)
src/screen.cc
patch
|
blob
|
history
diff --git
a/src/screen.cc
b/src/screen.cc
index f44e291cee51ebbe884d3a8446854c81ff7b60ba..8ea1b49ea8a0432f48bf86ed50278a9434cbb880 100644
(file)
--- 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);