Re: [PATCH v3] shell: grab the parent popup when a sub popup window is deleted or hidden

2013-03-19 Thread Giulio Camuffo
Any further comment on this? This functionality is needed to have a sane behaviour of popup menus in real apps. 2013/3/16 Giulio Camuffo : > If the client opens a popup menu and submenu, when it closes or hides the > submenu the pointer grab should return to the parent menu. > Furthermore, when cl

Re: [PATCH v3] shell: grab the parent popup when a sub popup window is deleted or hidden

2013-03-16 Thread Scott Moreau
Thanks for rebasing this to next, pushed. - Scott On Sat, Mar 16, 2013 at 4:59 AM, Giulio Camuffo wrote: > If the client opens a popup menu and submenu, when it closes or hides the > submenu the pointer grab should return to the parent menu. > Furthermore, when clicking outside the client area t

[PATCH v3] shell: grab the parent popup when a sub popup window is deleted or hidden

2013-03-16 Thread Giulio Camuffo
If the client opens a popup menu and submenu, when it closes or hides the submenu the pointer grab should return to the parent menu. Furthermore, when clicking outside the client area the popup_done event is sent to the active popup surface and recursively to its parent. --- src/shell.c | 73 +