diff --git a/client/Wayland/wlf_disp.c b/client/Wayland/wlf_disp.c index afd1ced91..39a53096e 100644 --- a/client/Wayland/wlf_disp.c +++ b/client/Wayland/wlf_disp.c @@ -318,9 +318,6 @@ BOOL wlf_disp_handle_configure(wlfDispContext* disp, int32_t width, int32_t heig if (!disp) return FALSE; - if (!disp) - return FALSE; - disp->targetWidth = width; disp->targetHeight = height; return wlf_disp_sendResize(disp);