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:
24335c9
)
no need to check settings
author
Mikael Magnusson
<mikachu@gmail.com>
Fri, 19 Feb 2010 21:54:27 +0000
(22:54 +0100)
committer
Mikael Magnusson
<mikachu@gmail.com>
Fri, 19 Feb 2010 21:54:27 +0000
(22:54 +0100)
it's always allocated, and the next line doesn't check it anyway
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index a86bb3a139edcc4258c06a014efe345e7812cd53..4d54b38ed5b2c8e24d14d2c87af1e0310716ecbe 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-372,7
+372,7
@@
void client_manage(Window window, ObPrompt *prompt)
/* NET_WM_USER_TIME 0 when mapping means don't focus */
(user_time != 0) &&
/* this checks for focus=false for the window */
-
(!settings || settings->focus != 0)
&&
+
settings->focus != 0
&&
focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE,
settings->focus == 1))
{