The Elantech touchpad on my Asus Vivobook doesn't release BTN_TOOL_FINGER on
up. If the touchpad was used before libinput initializes, the kernel filters
the event because its state is already set. We never receive it and keep
ignoring all events until the first switch to BTN_TOOL_DOUBLETAP and bac
The compositor creates a resource that gives the desktop shell limited access
to the window that requested a window menu, and sends the desktop shell a
"show_window_menu" event. The desktop shell then displays a popup menu using
the usual window APIs, and sends back a request with the result (only
We lose the "Fullscreen" menu item, but oh well.
Signed-off-by: Dima Ryazanov
---
clients/window.c | 40 +++-
1 file changed, 7 insertions(+), 33 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index d4eeca6..4c494b5 100644
--- a/clients/window.
The serial that triggered the menu may not always be the latest serial - as will
be the case for the desktop-shell. Let's just require clients to pass it
explicitly. They already do it when starting a grab, moving a window, etc.
Signed-off-by: Dima Ryazanov
---
clients/editor.c | 4 +++-
clie
We'll need it later to actually display a popup menu.
Signed-off-by: Dima Ryazanov
---
libweston-desktop/internal.h | 2 +-
libweston-desktop/libweston-desktop.c | 4 ++--
libweston-desktop/libweston-desktop.h | 4 ++--
libweston-desktop/xdg-shell-v5.c | 3 ++-
libweston-desktop/xd
Desktop shell will need to know when to clean up menu-related resources.
Other clients might find it useful, too.
Signed-off-by: Dima Ryazanov
---
clients/window.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/clients/window.c b/clients/window.c
index f49ce72..12884f4 100644
--- a/client
(This is kind of a workaround, but perhaps the right thing to do anyways.)
The menu implementation in window.c needs to know the time of the event that
triggered the menu - however, the xdg-shell's show_window_menu API does not
give us that info. There doesn't seem to be an easy way to fake it bec
This series implements window menus in Weston - so e.g. right-clicking
the title bar of a Gnome app in Weston will actually show a popup menu.
The last patch makes Weston clients use the same API, so they'll get
a native-looking menu when running in Gnome.
Patches 1, 3, and 4 should be pretty unco
On Wed, Nov 23, 2016 at 06:32:07PM +0100, Carlos Garnacho wrote:
> The leave events in the respective device interfaces has been further
> documented so those can convey the necessary info when input is being
> redirected out of their currently focused surface.
>
> Only wl_touch is missing somethi
Hi Carlos,
> On Nov 23, 2016, at 9:32 AM, Carlos Garnacho wrote:
>
> The leave events in the respective device interfaces has been further
> documented so those can convey the necessary info when input is being
> redirected out of their currently focused surface.
>
> Only wl_touch is missing so
On Fri, Dec 02, 2016 at 07:39:02PM +, Emil Velikov wrote:
> On 2 December 2016 at 18:28, Daniel Stone wrote:
> > Hey,
> >
> > On 2 December 2016 at 18:25, Emil Velikov wrote:
> >> On 1 December 2016 at 15:24, Daniel Stone wrote:
> >>> On 1 December 2016 at 14:11, Emil Velikov
> >>> wrote:
Some variables were previously only set inside conditions, making their
output empty.
Signed-off-by: Emmanuel Gil Peyrot
---
configure.ac | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1e251bf..8aba62c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -
This fetches the _NET_WM_ICON property of the X11 window, and use the
first image found as the frame icon.
This has been tested with various X11 programs, and improves usability
and user-friendliness a bit.
Signed-off-by: Emmanuel Gil Peyrot
---
clients/window.c | 4 +--
libwesto
2016-11-25 15:10 GMT+01:00 Pekka Paalanen :
> On Wed, 29 Jun 2016 11:57:11 +0200
> Giulio Camuffo wrote:
>
>> Signed-off-by: Giulio Camuffo
>> ---
>>
>> v2: this was split from the following commit
>>
>> libweston/launcher-direct.c| 12
>> libweston/launcher-impl.h
14 matches
Mail list logo