]> git.mdlowis.com Git - proto/labwc.git/commitdiff
view: scale correctly in view_maximize()
authorJohan Malm <jgm323@gmail.com>
Tue, 17 Aug 2021 06:25:57 +0000 (07:25 +0100)
committerJohan Malm <jgm323@gmail.com>
Tue, 17 Aug 2021 06:25:57 +0000 (07:25 +0100)
src/view.c

index 9cb284c785a93c3a858bc4010af868bb9ef05eb3..14e53d074c2f83a58ae8bb91cbbd3a285c2b1bb1 100644 (file)
@@ -91,8 +91,6 @@ view_maximize(struct view *view, bool maximize)
                        box.width -= border.right + border.left;
                        box.height -= border.top + border.bottom;
                }
-               box.width /= output->wlr_output->scale;
-               box.height /= output->wlr_output->scale;
                view_move_resize(view, box);
                view->maximized = true;
        } else {