Don't uniconify locked windows via _NET_ACTIVE_WINDOW
authorMikael Magnusson <mikachu@gmail.com>
Sat, 1 Oct 2016 11:53:27 +0000 (13:53 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sat, 1 Oct 2016 11:53:27 +0000 (13:53 +0200)
openbox/client.c

index ce6b67b..2fbd020 100644 (file)
@@ -4151,6 +4151,9 @@ void client_activate(ObClient *self, gboolean desktop,
 {
     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