projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
70f2336
)
Don't uniconify locked windows via _NET_ACTIVE_WINDOW
author
Mikael Magnusson
<mikachu@gmail.com>
Sat, 1 Oct 2016 11:53:27 +0000
(13:53 +0200)
committer
Mikael Magnusson
<mikachu@gmail.com>
Sat, 1 Oct 2016 11:53:27 +0000
(13:53 +0200)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
ce6b67b
..
2fbd020
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-4151,6
+4151,9
@@
void client_activate(ObClient *self, gboolean desktop,
{
self = client_focus_target(self);
{
self = client_focus_target(self);
+ if (self->iconic && self->locked)
+ return;
+
if (client_can_steal_focus(self, desktop, user, event_time(), CurrentTime))
client_present(self, here, raise, unshade);
else
if (client_can_steal_focus(self, desktop, user, event_time(), CurrentTime))
client_present(self, here, raise, unshade);
else