]> git.sur5r.net Git - i3/i3/blobdiff - src/click.c
Merge branch 'master' into next
[i3/i3] / src / click.c
index 13f51acf398ba3f9929721b1111960ba3d363446..5eedd00041f250b978798649bc8cf503dbbcb0f8 100644 (file)
@@ -229,7 +229,7 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod
     /* 3: For floating containers, we also want to raise them on click.
      * We will skip handling events on floating cons in fullscreen mode */
     Con *fs = (ws ? con_get_fullscreen_con(ws, CF_OUTPUT) : NULL);
-    if (floatingcon != NULL && fs == NULL) {
+    if (floatingcon != NULL && fs != con) {
         floating_raise_con(floatingcon);
 
         /* 4: floating_modifier plus left mouse button drags */