Proposal: use of xdg-shell popups outside of xdg-shell

2018-03-13 Thread Drew DeVault
Hi there! Over at the wlroots project we're thinking about repurposing xdg-shell popups for use in another protocol that needs popups. The popup interface is somewhat complex and duplicating it for each protocol that might want to support popups is less than ideal. From an API perspective, both xd

[PATCH wayland] configure.ac: don't install the static libraries

2018-03-13 Thread Emil Velikov
From: Emil Velikov One should always be using the shared libraries. Spotted while going through the Debian packaing. Signed-off-by: Emil Velikov --- Can we have this in the 1.5 release, please? --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b

Re: [PATCH wayland v2 1/4] Revert "wayland-egl-symbols-check: pass the DSO name via the build system"

2018-03-13 Thread Emil Velikov
On 12 March 2018 at 11:25, Daniel Stone wrote: > Hi, > > On 12 March 2018 at 11:21, Emil Velikov wrote: >> On 9 March 2018 at 11:09, Daniel Stone wrote: >>> On 9 March 2018 at 10:59, Emil Velikov wrote: - above all, the internal path is a 'dummy' fallback. anyone can provide the bina

Re: wl_buffer is not released for long time.

2018-03-13 Thread Sichem Zhou
Dear Matt, I just checked my compiled version, indeed I was using a version without this patch. I patched my local weston but it didn't seem that my problem is gone. So I guess there could be other problems with my code, but thanks for your assistance. Now I can insert the callback in weston to do

[PATCH weston] libweston-desktop/xdg-shell-v6: Fix crash when surface has buffer at creation

2018-03-13 Thread Derek Foreman
When a surface has a buffer at creation time we send an error, which results in a disconnection and all resources being destroyed. Since we send that error and return before performing the configure_list init weston_desktop_xdg_surface_destroy() will walk an uninitialized list and dereference a NU

Re: [PATCH weston] libweston-desktop/xdg-shell-v6: Fix crash when surface has buffer at creation

2018-03-13 Thread Quentin Glidic
On 3/13/18 5:34 PM, Derek Foreman wrote: When a surface has a buffer at creation time we send an error, which results in a disconnection and all resources being destroyed. Since we send that error and return before performing the configure_list init weston_desktop_xdg_surface_destroy() will walk

[PATCH v2] xwm: Update input region on resize

2018-03-13 Thread Scott Moreau
Commit 332d1892 introduced a bug because the window was shaped only when the frame was created, leaving the input region unchanged regardless if the window was resized. This patch updates the input region shape on resize, fixing the problem. --- Changed in v2: - Bail in shape function if (window

[ANNOUNCE] libinput 1.10.3

2018-03-13 Thread Peter Hutterer
libinput 1.10.3 is now available. Only two patches, the first one to fix a crasher triggered by a specific event sequence during 3-finger gestures (and on some touchpads 2-finger gestures). The second one fixes the new pointer jitter detection, a bitmask got lost and we compared 32 bits instead of