Re: [ANNOUNCE] Wayland Live CD release

2016-10-18 Thread nerdopolis
What kind of video card hardware do you have? (intel/nvidia/amd), or are you using a VM? Did you try with a framebuffer option? What part does it actually hang at? On Tuesday, October 18, 2016 11:37:29 AM EDT you wrote: > Bug don't response > > DanielTorres > On Oct 16, 2016 12:18 AM, "nerdopoli

[PATCH] main: Added support for natural scroll

2016-10-18 Thread Kamiyaa
--- compositor/main.c | 13 + weston.ini.in | 1 + 2 files changed, 14 insertions(+) diff --git a/compositor/main.c b/compositor/main.c index 8028ec3..6cd2a25 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1095,6 +1095,8 @@ configure_input_device(struct weston_composi

[PATCH] main: Added support for natural scroll

2016-10-18 Thread Kamiyaa
This adds support for enabling/disabling natural scrolling via a boolean in weston.ini: [libinput] natural_scroll=true Signed-off-by: Jiayi Zhao ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/l

Re: [PATCH v4 2/3] wayland-server: Add functions to wl_global

2016-10-18 Thread Yong Bakos
On Oct 18, 2016, at 7:23 AM, Olivier Fourdan wrote: > > When using a wl_global, a server may need to retrieve the associated > wl_interface and user data. > > Add a couple of convenient functions wl_global_get_interface() and > wl_global_get_user_data() for this purpose. > > Signed-off-by: Oliv

Re: [PATCH v7 3/3] tests: Add a test for global filter

2016-10-18 Thread Yong Bakos
On Oct 18, 2016, at 7:23 AM, Olivier Fourdan wrote: > > Test if the global filter is effectively filtering out the global when > the filter returns false. > > Signed-off-by: Olivier Fourdan > Reviewed-by: Yong Bakos > --- This v remains Reviewed-by: Yong Bakos yong > v3: split out as its

Re: [PATCH v5 1/3] wayland-server: Add API to control globals visibility

2016-10-18 Thread Yong Bakos
On Oct 18, 2016, at 7:23 AM, Olivier Fourdan wrote: > > Add a new API to let compositor decide whether or not a wl_global > should be advertised to the clients via wl_registry_bind() or > display_get_registry() > > By using its own filter, the compositor can decide which wl_global would > be lis

Re: [PATCH wayland v2 4/4] array-test: Include wayland-util.h and simplify init test

2016-10-18 Thread Yong Bakos
On Oct 18, 2016, at 2:05 AM, Pekka Paalanen wrote: > > On Tue, 27 Sep 2016 23:27:00 +0200 > Dima Ryazanov wrote: > >> I think I actually know the point of the test. >> >> It tries to verify that size, alloc, and data were initialized to 0, rather >> than left uninitialized - but the difficulty

[PATCH v7 3/3] tests: Add a test for global filter

2016-10-18 Thread Olivier Fourdan
Test if the global filter is effectively filtering out the global when the filter returns false. Signed-off-by: Olivier Fourdan Reviewed-by: Yong Bakos --- v3: split out as its own commit v4: Follow up on Jonas' comments: assert(hi.has_data_offer == false) instead of assert(hi.has_data_of

[PATCH v5 1/3] wayland-server: Add API to control globals visibility

2016-10-18 Thread Olivier Fourdan
Add a new API to let compositor decide whether or not a wl_global should be advertised to the clients via wl_registry_bind() or display_get_registry() By using its own filter, the compositor can decide which wl_global would be listed to clients. Compositors can use this mechanism to hide their ow

[PATCH v4 2/3] wayland-server: Add functions to wl_global

2016-10-18 Thread Olivier Fourdan
When using a wl_global, a server may need to retrieve the associated wl_interface and user data. Add a couple of convenient functions wl_global_get_interface() and wl_global_get_user_data() for this purpose. Signed-off-by: Olivier Fourdan --- v3: split out as its own commit v4: Rebase against

Re: [PATCH 1/3 v4] wayland-server: Add API to control globals visibility

2016-10-18 Thread Pekka Paalanen
On Tue, 18 Oct 2016 08:37:56 -0400 (EDT) Olivier Fourdan wrote: > Hi Pekka, > > > sorry for taking so long to reply. > > Now it's my turn to apologize, I saw your email and then forgot about it! > > > A recap from earlier emails as I understood them: > > > > - This patch adds a callback in

Re: [PATCH 1/3 v4] wayland-server: Add API to control globals visibility

2016-10-18 Thread Olivier Fourdan
Hi Pekka, > sorry for taking so long to reply. Now it's my turn to apologize, I saw your email and then forgot about it! > A recap from earlier emails as I understood them: > > - This patch adds a callback in libwayland-server's wl_registry > implementation, that will be called every time a)

Re: [PATCH wayland] util: Document GCC attributes

2016-10-18 Thread Pekka Paalanen
On Sat, 17 Sep 2016 15:04:32 -0700 Yong Bakos wrote: > From: Yong Bakos > > Add doxygen comment blocks so these annotations are documented in the html > documentation. > > Signed-off-by: Yong Bakos > --- > src/wayland-util.h | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions

Re: [PATCH wayland v2 0/4] wl_array: documentation and test

2016-10-18 Thread Pekka Paalanen
On Tue, 27 Sep 2016 13:03:46 -0500 Yong Bakos wrote: > From: Yong Bakos > > This series adds documentation to wl_array and its methods. > > There is one implementation change: defining an invalid pointer address, and > setting the `data` pointer to the invalid pointer address after free, in >

Re: [PATCH wayland v2 4/4] array-test: Include wayland-util.h and simplify init test

2016-10-18 Thread Pekka Paalanen
On Tue, 27 Sep 2016 23:27:00 +0200 Dima Ryazanov wrote: > I think I actually know the point of the test. > > It tries to verify that size, alloc, and data were initialized to 0, rather > than left uninitialized - but the difficulty is that uninitialized memory > is often already filled with 0s.