[PATCH libinput] Add libinput_device_get_context/libinput_seat_get_context

2014-12-01 Thread Peter Hutterer
Allow retrieval of the libinput context from the seat and the device. Signed-off-by: Peter Hutterer --- src/libinput.c | 12 src/libinput.h | 22 ++ test/device.c | 12 3 files changed, 46 insertions(+) diff --git a/src/libinput.c b/src/libinput.c

Re: [RFC weston 00/15] libweston

2014-12-01 Thread Hardening
Le 13/11/2014 21:07, Giulio Camuffo a écrit : > 2014-11-13 21:56 GMT+02:00 Bryce Harrington : >> On Thu, Nov 06, 2014 at 10:41:19PM +0200, Giulio Camuffo wrote: >>> This patchset makes a libweston.so out of the compositor core, thought >>> to be used by many different users. >> >> Who are thought b

Re: [PATCH v1] Added string conversion utility functions

2014-12-01 Thread Bill Spitzak
On 12/01/2014 04:10 AM, Pekka Paalanen wrote: other = strtol(pid, &end, 0); if (end != pid + 10) { weston_log("can't parse lock file %s\n", lockfile); close(fd);

Re: [PATCH weston v2] input: send focus events to the focused client when running a key binding

2014-12-01 Thread Pekka Paalanen
On Sat, 22 Nov 2014 11:16:56 +0200 Giulio Camuffo wrote: > When running a key binding we don't send the key press to the client > via the wl_keyboard.key event. Instead, send a wl_keyboard.leave/enter > pair so that the client knows the actual state of the keyboard. > --- > src/bindings.c | 23 +

Re: [PATCH] doc: Removed redundant xslt output elements.

2014-12-01 Thread Pekka Paalanen
On Fri, 28 Nov 2014 09:41:39 +1000 Peter Hutterer wrote: > On Thu, Nov 27, 2014 at 12:30:52PM -0800, Jon A. Cruz wrote: > > Removed elements that were duplicated but with attributes in > > a different order. Standard tools are required to ignore the order of > > attributes in an element. > > >

Re: [PATCH weston] xwm: Support maximizing xwayland windows

2014-12-01 Thread Giulio Camuffo
2014-12-01 15:11 GMT+02:00 Pekka Paalanen : > On Sat, 22 Nov 2014 19:25:51 +0200 > Giulio Camuffo wrote: > >> This patch adds the maximize button to the window frame for the windows >> which set the MWM_DECOR_MAXIMIZE hint, and it wires it with the shell >> via a new method in weston_shell_interfa

Re: [PATCH weston] xwm: Support maximizing xwayland windows

2014-12-01 Thread Pekka Paalanen
On Sat, 22 Nov 2014 19:25:51 +0200 Giulio Camuffo wrote: > This patch adds the maximize button to the window frame for the windows > which set the MWM_DECOR_MAXIMIZE hint, and it wires it with the shell > via a new method in weston_shell_interface. > Additionally, it also listens for the wm hints

Re: [PATCH weston] rpi-renderer: don't pass a box to pixman_region32_contains_point()

2014-12-01 Thread Pekka Paalanen
On Fri, 21 Nov 2014 13:20:22 -0800 Bryce Harrington wrote: > On Fri, Nov 21, 2014 at 12:31:04PM -0600, Derek Foreman wrote: > > We don't care which box contained the point, so don't pass one in. > > > > Signed-off-by: Derek Foreman > > --- > > > > Had thought I'd already sent this one up a whi

Re: [PATCH v1] Added string conversion utility functions

2014-12-01 Thread Pekka Paalanen
On Tue, 25 Nov 2014 22:17:24 +0200 Imran Zaman wrote: > Thanks Bill for your comments. Plz see my comments inline. > > On Tue, Nov 25, 2014 at 9:26 PM, Bill Spitzak wrote: > > > > > > On 11/24/2014 11:12 PM, Imran Zaman wrote: > >> > >> On Tue, Nov 25, 2014 at 1:15 AM, Bill Spitzak wrote: > >>

Re: [PATCH wayland] tests: fix memory leak

2014-12-01 Thread Pekka Paalanen
On Fri, 21 Nov 2014 11:18:33 +0100 Marek Chalupa wrote: > We didn't free the struct client that we got from client_connect() > > Signed-off-by: Marek Chalupa > --- > tests/display-test.c| 23 +-- > tests/test-compositor.c | 1 + > 2 files changed, 14 insertions(+), 10

Re: [PATCH wayland] tests: split queue-test testcases

2014-12-01 Thread Pekka Paalanen
On Fri, 21 Nov 2014 11:15:24 +0100 Marek Chalupa wrote: > All the test-cases are in one test atm. It doesn't matter for the > outcome, but when it is split to more tests, the debugging and reading > the output is simpler. > > Signed-off-by: Marek Chalupa > --- > tests/queue-test.c | 20 +++

Re: [PATCH wayland v2] tests: detect if debugger is attached

2014-12-01 Thread Pekka Paalanen
On Fri, 28 Nov 2014 15:36:52 +0100 Marek Chalupa wrote: > Copy function from libinput/test/litest.c is_debugger_detached() > and use it in our test-runner. If debugger is attached, turn off > leak checks and timeouts automatically. > > Revision of libinput: 028513a0a723e97941c39c4aeb174331987239

Re: [PATCH libinput] Add a function to retrieve the udev_device handle from a libinput device

2014-12-01 Thread Hans de Goede
Hi, On 12/01/2014 04:45 AM, Peter Hutterer wrote: The libinput device abstracts a number of things but sometimes the underlying device is important. The udev device provides the necessary handle to access that underlying device and various sysfs properties that may be necessary. A function retu

Re: [PATCH libinput 0/4] pointer acceleration DPI normalization

2014-12-01 Thread Hans de Goede
Hi, On 12/01/2014 01:04 AM, Peter Hutterer wrote: The first patch is just in this series for completeness, it's already been on this list. systemd has now merged the mouse DPI hwdb [1], so the next version will come with that enabled and we just need to start populating the actual database. Th

Re: [PATCH weston 5/6] xdg-shell: Rewrite documentation

2014-12-01 Thread Giulio Camuffo
2014-11-22 22:28 GMT+02:00 Jasper St. Pierre : > This rewrites basically all of the text inside xdg-shell to be up to > date, clearer, and rid of wl_shell and X11 terminology. > --- > protocol/xdg-shell.xml | 256 > ++--- > 1 file changed, 156 insertion