From 2b6fbbdfe09d087cec84575647225e9c5a8cf035 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Mon, 3 Dec 2018 14:46:57 +0400 Subject: [PATCH] Temp fix resizing --- gfx/drivers_context/wayland_ctx.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 03d109305c..138f485935 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -617,10 +617,6 @@ static void handle_toplevel_config(void *data, struct xdg_toplevel *toplevel, wl->width = width; wl->height = height; } - else { - wl->width = wl->prev_width; - wl->height = wl->prev_height; - } wl->configured = false; } @@ -685,10 +681,6 @@ static void handle_zxdg_toplevel_config(void *data, struct zxdg_toplevel_v6 *top wl->width = width; wl->height = height; } - else { - wl->width = wl->prev_width; - wl->height = wl->prev_height; - } wl->configured = false; }