Send motion events that are always relative to the menu and not the parent.
Before,
the events sent were relative to the parent if the pointer was not over the
menu.
This was also causing a menu item to be selected when clicking outside of the
menu.
---
v2:
* Handle clipping in the client inst
On Sun, Oct 7, 2012 at 3:46 PM, Pekka Vuorela wrote:
> On su, 2012-10-07 at 15:12 -0600, Scott Moreau wrote:
> >
> >
> > On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela
> > wrote:
> > On su, 2012-10-07 at 04:28 -0600, Scott Moreau wrote:
> > > Don't send motion events to the surfa
On su, 2012-10-07 at 15:12 -0600, Scott Moreau wrote:
>
>
> On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela
> wrote:
> On su, 2012-10-07 at 04:28 -0600, Scott Moreau wrote:
> > Don't send motion events to the surface when the pointer is
> not over the menu.
> > Thi
On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela wrote:
> On su, 2012-10-07 at 04:28 -0600, Scott Moreau wrote:
> > Don't send motion events to the surface when the pointer is not over the
> menu.
> > This was also causing items to be selected when clicking outside of the
> menu.
>
> Wouldn't it be
This fixes the bug where surface is above panel_layer
just after it is restored from fullscreen mode.
How to reproduce:
* move surface under panel
* set surface fullscreen
* restore surface to normal mode
---
src/shell.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/shell.c b/src/s
On su, 2012-10-07 at 04:28 -0600, Scott Moreau wrote:
> Don't send motion events to the surface when the pointer is not over the menu.
> This was also causing items to be selected when clicking outside of the menu.
Wouldn't it be quite a lousy grab if only events on top of the grabbing
window woul
---
clients/flower.c | 1 +
clients/simple-egl.c | 2 ++
clients/simple-shm.c | 2 ++
clients/simple-touch.c | 1 +
4 files changed, 6 insertions(+)
diff --git a/clients/flower.c b/clients/flower.c
index a403234..dac52d5 100644
--- a/clients/flower.c
+++ b/clients/flower.c
@@ -180,6 +18
The surface_list can only be used when called in a path originating from
weston_output_repaint(). Additionally, the calls omitted by this patch were
redundant since they were called in paths ultimately leading to a repaint call,
which calls weston_compositor_repick(), which in turn calls
weston_de
This adds another helper that allows finding a keysym based on a
case-insensitive search. This should really be supported as many keysyms
have really weird capitalization-rules.
However, as this may produce conflicts, users must be warned to only use
this for fallback paths or error-recovery. This
From: Ran Benita
This removes the complicated and undocumented hash-table creation-helper
and replaces it with an autogenerated sorted array. The search uses simple
bsearch() now.
We also tried using gperf but it turned out to generate way to big
hashtables and when reducing the size it isn't re
Clicking on a menu item within 500ms of opening it would fail. This fixes that
problem as well as right-button-up-to-select.
---
clients/window.c | 3 +--
src/shell.c | 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index 9a75a46..51a
Don't send motion events to the surface when the pointer is not over the menu.
This was also causing items to be selected when clicking outside of the menu.
---
src/shell.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/shell.c b/src/shell.c
index 1c44e39..e6c8ee9 100644
---
12 matches
Mail list logo