Re: [PATCH weston 1/2] window: Only set menu element when menu widget is focused

2012-10-19 Thread Jonas Ådahl
On Fri, Oct 19, 2012 at 1:10 PM, Pekka Vuorela wrote: > 2012/10/19 Jonas Ådahl : >> Motion handlers are called for either grabbed or focused widgets. If a >> menu is displayed, thus grabbed, motion events relative to the parent >> surface are delivered to the menu widget motion handler even though

Re: [PATCH weston 1/2] window: Only set menu element when menu widget is focused

2012-10-19 Thread Pekka Vuorela
2012/10/19 Jonas Ådahl : > Motion handlers are called for either grabbed or focused widgets. If a > menu is displayed, thus grabbed, motion events relative to the parent > surface are delivered to the menu widget motion handler even though it > is not in focus. By checking that the menu widget is t

[PATCH weston 1/2] window: Only set menu element when menu widget is focused

2012-10-18 Thread Jonas Ådahl
Motion handlers are called for either grabbed or focused widgets. If a menu is displayed, thus grabbed, motion events relative to the parent surface are delivered to the menu widget motion handler even though it is not in focus. By checking that the menu widget is the focused one we can avoid setti