]> git.sur5r.net Git - i3/i3/blobdiff - src/commands.c
Bugfix: don't try to resize docks by command
[i3/i3] / src / commands.c
index 32fdc7f170b957d190ce6a719f18978a254ba697..f73f2bb320e7ca511b2f2843ff7817f34597677a 100644 (file)
@@ -779,6 +779,12 @@ void cmd_resize(I3_CMD, char *way, char *direction, char *resize_px, char *resiz
 
     owindow *current;
     TAILQ_FOREACH(current, &owindows, owindows) {
+        /* Don't handle dock windows (issue #1201) */
+        if (current->con->window->dock) {
+            DLOG("This is a dock window. Not resizing (con = %p)\n)", current->con);
+            continue;
+        }
+
         Con *floating_con;
         if ((floating_con = con_inside_floating(current->con))) {
             cmd_resize_floating(current_match, cmd_output, way, direction, floating_con, px);