From 5418a904ca007a109f6af8c0c75ca97a134986d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20Br=C3=BCschweiler?= Date: Thu, 16 Aug 2012 10:50:07 +0200 Subject: [PATCH] toytoolkit: don't ignore resizes with negative width or height E.g. this can happen when you grab the lower right corner of a window and move over the top of the window when resizing. In this case, the changed width is still important and should be acted upon. https://bugs.freedesktop.org/show_bug.cgi?id=53560 --- clients/window.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/window.c b/clients/window.c index 3262174..3846e15 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2691,9 +2691,6 @@ handle_configure(void *data, struct wl_shell_surface *shell_surface, { struct window *window = data; - if (width <= 0 || height <= 0) - return; - window->resize_edges = edges; window_schedule_resize(window, width, height); } -- 2.7.4