]> git.sur5r.net Git - i3/i3/commitdiff
bugfix: fix clicking on dock clients (Thanks mseed)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Feb 2011 00:58:57 +0000 (01:58 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Feb 2011 00:58:57 +0000 (01:58 +0100)
src/con.c

index 31affbbce415365d66494d85708d7e55078d82ae..07fb0c65e9bd1bd1d5788649c2be00f7b692370e 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -332,7 +332,7 @@ Con *con_inside_floating(Con *con) {
     if (con->floating >= FLOATING_AUTO_ON)
         return con->parent;
 
-    if (con->type == CT_WORKSPACE)
+    if (con->type == CT_WORKSPACE || con->type == CT_OUTPUT)
         return NULL;
 
     return con_inside_floating(con->parent);