Re: [PATCH weston v2] shell: set the popup grab button as pressed only if it actually is

2013-03-27 Thread Kristian Høgsberg
On Wed, Mar 27, 2013 at 06:05:26PM +0100, Giulio Camuffo wrote: > This ensures the popup_grab.initial_up field isn't reset to 0 > if the popup was not opened because of a mouse press but because > of moving the mouse with a popup already open. Not doing so will > make the first click outside the cl

[PATCH weston v2] shell: set the popup grab button as pressed only if it actually is

2013-03-27 Thread Giulio Camuffo
This ensures the popup_grab.initial_up field isn't reset to 0 if the popup was not opened because of a mouse press but because of moving the mouse with a popup already open. Not doing so will make the first click outside the client area go ignored. --- src/shell.c | 6 +- 1 file changed, 5 ins