Re: [PATCH libinput] touchpad: only pair internal trackpoint devices with internal touchpads

2015-04-15 Thread Bill Spitzak
On 04/14/2015 09:01 PM, Peter Hutterer wrote: Internal touchpads with trackpoints are either BUS_I8042 or BUS_I2C, but not BUS_USB. Lenovo sells external keyboards with a trackpoint built-in, make sure we don't pair that trackpoint with the internal touchpad. And likewise, the internal

Re: [PATCH libinput] tools: add a tool to list local devices and the default configurations

2015-04-15 Thread Hans de Goede
Hi, On 15-04-15 05:49, Peter Hutterer wrote: xinput or an equivalent isn't available under wayland, but the majority of use-cases of why doesn't my device work or why does feature X not work should be covered by simply listing the local devices and their config options. Example output:

Re: [PATCH libinput 0/6] Middle mouse button emulation

2015-04-15 Thread Bill Spitzak
Is this being done for physical mice with two buttons? The comments seem to indicate not, which seems kind of pointless: if a client has to emulate it for a physical mouse it will be emulating it for touchpads as well. Delaying a press to see if it is a middle click is also probably

[PATCH weston 3/3] desktop-shell: use work area instead of panel size to constrain moves

2015-04-15 Thread Derek Foreman
This fixes the case where an output isn't at y = 0, where the panel height isn't correct for constraints. It also kills a bug - moving a window with a mod-drag off the top of the screen clamped earlier than it should. Signed-off-by: Derek Foreman der...@osg.samsung.com --- desktop-shell/shell.c

[PATCH weston 1/3] desktop-shell: add output co-ordinates to get_output_work_area()

2015-04-15 Thread Derek Foreman
get_output_work_area() now returns the absolute work area including the output's offset. This will make math a little simpler later when we use it to constrain window moves. Signed-off-by: Derek Foreman der...@osg.samsung.com --- desktop-shell/shell.c | 22 +- 1 file

[PATCH weston 0/3] Clean up window placement and move constraining

2015-04-15 Thread Derek Foreman
If we give an output a non-zero Y co-ordinate, window placement starts putting things off screen due to a bug in get_output_panel_size(). Constraints still work due to a symmetrical bug in constrain_position(). This should straighten things out a little bit. Derek Foreman (3): desktop-shell:

[PATCH weston 2/3] desktop-shell: use output position in get_output_panel_size()

2015-04-15 Thread Derek Foreman
The panel size calculation needs to take the output position into account or it's only correct when the output is at 0, 0. Signed-off-by: Derek Foreman der...@osg.samsung.com --- desktop-shell/shell.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

Re: EFL/Wayland and xdg-shell

2015-04-15 Thread Christian Stroetmann
On the 15th of 2015 21:31, Daniel Stone wrote: On 14 April 2015 at 04:19, Jasper St. Pierrejstpie...@mecheye.net wrote: Boo hoo. you're the only ones who want physically-based rendering raytraced desktops. Enlightenment is absolutely nothing like my desktop environment of choice either, but

Re: EFL/Wayland and xdg-shell

2015-04-15 Thread Daniel Stone
On 14 April 2015 at 04:19, Jasper St. Pierre jstpie...@mecheye.net wrote: Boo hoo. you're the only ones who want physically-based rendering raytraced desktops. Enlightenment is absolutely nothing like my desktop environment of choice either, but this is staggeringly unnecessary. If you want

Re: EFL/Wayland and xdg-shell

2015-04-15 Thread Daniel Stone
Hi, Replies to both here ... On 15 April 2015 at 02:39, Carsten Haitzler ras...@rasterman.com wrote: On Tue, 14 Apr 2015 01:31:56 +0100 Daniel Stone dan...@fooishbar.org said: On 14 April 2015 at 01:02, Bryce Harrington br...@osg.samsung.com wrote: While window rotation was used more as an

Re: EFL/Wayland and xdg-shell

2015-04-15 Thread Jasper St. Pierre
Yeah, that was extremely uncalled for. Was a difficult day at work, and I was already cranky. I messed up, that was my fault, and I apologize. On Wed, Apr 15, 2015 at 12:31 PM, Daniel Stone dan...@fooishbar.org wrote: On 14 April 2015 at 04:19, Jasper St. Pierre jstpie...@mecheye.net wrote: Boo

Re: [PATCH libinput 0/6] Middle mouse button emulation

2015-04-15 Thread Peter Hutterer
On Wed, Apr 15, 2015 at 07:32:01AM -0700, Bill Spitzak wrote: Is this being done for physical mice with two buttons? The comments seem to indicate not, which seems kind of pointless: if a client has to emulate it for a physical mouse it will be emulating it for touchpads as well. not quite,

Re: EFL/Wayland and xdg-shell

2015-04-15 Thread The Rasterman
On Wed, 15 Apr 2015 20:29:32 +0100 Daniel Stone dan...@fooishbar.org said: Hi, Replies to both here ... On 15 April 2015 at 02:39, Carsten Haitzler ras...@rasterman.com wrote: On Tue, 14 Apr 2015 01:31:56 +0100 Daniel Stone dan...@fooishbar.org said: On 14 April 2015 at 01:02, Bryce

Re: [PATCH libinput] touchpad: only pair internal trackpoint devices with internal touchpads

2015-04-15 Thread Peter Hutterer
fwiw, please don't do a reply to list only, it makes it harder to track emails. On Wed, Apr 15, 2015 at 07:17:35AM -0700, Bill Spitzak wrote: On 04/14/2015 09:01 PM, Peter Hutterer wrote: Internal touchpads with trackpoints are either BUS_I8042 or BUS_I2C, but not BUS_USB. Lenovo sells

Re: [PATCH libinput 0/6] Middle mouse button emulation

2015-04-15 Thread Bill Spitzak
On 04/15/2015 02:46 PM, Peter Hutterer wrote: On Wed, Apr 15, 2015 at 07:32:01AM -0700, Bill Spitzak wrote: Is this being done for physical mice with two buttons? The comments seem to indicate not, which seems kind of pointless: if a client has to emulate it for a physical mouse it will be

Re: EFL/Wayland and xdg-shell

2015-04-15 Thread Bill Spitzak
On 04/15/2015 03:51 PM, Carsten Haitzler (The Rasterman) wrote: i was thinking a simplified geometry. then again client toolkits can figure that out and present a simplified enum or what not to the app too. but yes - some enumerated type attached to the output would be very nice. smarter

Re: [PATCH libinput 0/6] Middle mouse button emulation

2015-04-15 Thread Peter Hutterer
On Wed, Apr 15, 2015 at 06:05:09PM -0700, Bill Spitzak wrote: On 04/15/2015 02:46 PM, Peter Hutterer wrote: On Wed, Apr 15, 2015 at 07:32:01AM -0700, Bill Spitzak wrote: Is this being done for physical mice with two buttons? The comments seem to indicate not, which seems kind of pointless:

How about input method for CJK at present?

2015-04-15 Thread Leslie Zhai
Hi wayland developers, I found that Jan Arne Petersen implemented extend text protocol for IBus support in 2013 http://lists.freedesktop.org/archives/wayland-devel/2013-April/008524.html But upstream did not merge it, so I want to know the status about input method for CJK, it might be the

Re: [PATCH weston] Don't manipulate lists while tranversing the list (was: remove all running animations...)

2015-04-15 Thread Pekka Paalanen
On Tue, 14 Apr 2015 13:45:12 -0700 Bryce Harrington br...@osg.samsung.com wrote: On Tue, Apr 14, 2015 at 09:41:13AM +0300, Pekka Paalanen wrote: On Mon, 13 Apr 2015 22:47:00 -0500 Derek Foreman der...@osg.samsung.com wrote: On 13/04/15 07:15 AM, Pekka Paalanen wrote: Maybe the

Re: [PATCH libinput 1/6] evdev: add evdev_pointer_notify_physical_button

2015-04-15 Thread Hans de Goede
Hi, For some reason some of the patches have not made it to my mailbox, so I'm reviewing the entire set here, partially from the web archive. Patches 1 and 2 looks good and are: Reviewed-by: Hans de Goede hdego...@redhat.com The state machine code in patch 3 has some issues: In