From: Johan Malm Date: Tue, 17 Aug 2021 06:25:57 +0000 (+0100) Subject: view: scale correctly in view_maximize() X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=3efcfaf145886aa402c17246cc7a9191cb05d29e;p=proto%2Flabwc.git view: scale correctly in view_maximize() --- diff --git a/src/view.c b/src/view.c index 9cb284c7..14e53d07 100644 --- a/src/view.c +++ b/src/view.c @@ -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 {