Re: [PATCH weston] desktop-shell: remove all running animations for a surface before fade out

2015-04-13 Thread Pekka Paalanen
On Mon, 13 Apr 2015 22:47:00 -0500 Derek Foreman wrote: > On 13/04/15 07:15 AM, Pekka Paalanen wrote: > > On Fri, 10 Apr 2015 12:54:46 -0500 > > Derek Foreman wrote: > > > >> The completion of the fade out animation destroys a surface which fires > >> the surface destroy signal. Animations lis

Re: EFL/Wayland and xdg-shell

2015-04-13 Thread Giulio Camuffo
2015-04-14 6:33 GMT+03:00 Derek Foreman : > On 13/04/15 07:31 PM, Daniel Stone wrote: >> Hi, >> >> On 14 April 2015 at 01:02, Bryce Harrington wrote: >>> For purposes of discussion, an example might be rotated windows. The >>> set geometry api takes x, y, height, and width. How would you specify

Re: [PATCH] Mirroing mode

2015-04-13 Thread Leslie Zhai
Hi Pekka, Thanks for your reply! It is not easy to use Google "thanks to" G.F.W. blocked it ;-( Could you paste the URL links for me please? thanks a lot! It is not the issue - whether or not able to do partial (or full repaint) updates, but owing to: 1. different mode such as different width

Re: [PATCH weston] desktop-shell: remove all running animations for a surface before fade out

2015-04-13 Thread Derek Foreman
On 13/04/15 07:15 AM, Pekka Paalanen wrote: > On Fri, 10 Apr 2015 12:54:46 -0500 > Derek Foreman wrote: > >> The completion of the fade out animation destroys a surface which fires >> the surface destroy signal. Animations listen for the surface destroy >> signal and destroy themselves as a resp

Re: EFL/Wayland and xdg-shell

2015-04-13 Thread Derek Foreman
On 13/04/15 07:31 PM, Daniel Stone wrote: > Hi, > > On 14 April 2015 at 01:02, Bryce Harrington wrote: >> For purposes of discussion, an example might be rotated windows. The >> set geometry api takes x, y, height, and width. How would you specify >> rotation angle? > > The window doesn't know

Re: EFL/Wayland and xdg-shell

2015-04-13 Thread Jasper St. Pierre
On Mon, Apr 13, 2015 at 7:59 PM, Derek Foreman wrote: ... snip ... > That all makes sense - set_window_geometry() was a bit of a red herring > here. > > Some EFL developers want the application to have a way to know its > rotation so it can, for example, render drop shadows correctly. > > Take a

Re: EFL/Wayland and xdg-shell

2015-04-13 Thread Derek Foreman
On 13/04/15 07:24 PM, Jasper St. Pierre wrote: > On Mon, Apr 13, 2015 at 5:02 PM, Bryce Harrington > wrote: >> A couple weeks ago I gave a talk on Wayland to the EFL folks at the >> Enlightenment Developer Day in San Jose. They've already implemented a >> Wayland compositor backend, so my talk m

Re: EFL/Wayland and xdg-shell

2015-04-13 Thread Daniel Stone
Hi, On 14 April 2015 at 01:02, Bryce Harrington wrote: > For purposes of discussion, an example might be rotated windows. The > set geometry api takes x, y, height, and width. How would you specify > rotation angle? The window doesn't know it's rotated. The rotation occurs as part of the trans

Re: EFL/Wayland and xdg-shell

2015-04-13 Thread Jasper St. Pierre
On Mon, Apr 13, 2015 at 5:02 PM, Bryce Harrington wrote: > A couple weeks ago I gave a talk on Wayland to the EFL folks at the > Enlightenment Developer Day in San Jose. They've already implemented a > Wayland compositor backend, so my talk mainly speculated on Wayland's > future and on collectin

EFL/Wayland and xdg-shell

2015-04-13 Thread Bryce Harrington
A couple weeks ago I gave a talk on Wayland to the EFL folks at the Enlightenment Developer Day in San Jose. They've already implemented a Wayland compositor backend, so my talk mainly speculated on Wayland's future and on collecting feature requests and feedback from the EFL developers. Below is

Re: [PATCH libinput 3/3] udev: add a custom udev rule for X230 touchpads

2015-04-13 Thread Peter Hutterer
On Mon, Apr 13, 2015 at 04:11:22PM -0400, Benjamin Tissoires wrote: > On Thu, Apr 9, 2015 at 11:45 PM, Peter Hutterer > wrote: > > On Thu, Apr 09, 2015 at 01:30:39PM -0400, Benjamin Tissoires wrote: > >> X230 touchpads should be tagged as LIBINPUT_MODEL_LENOVO_X230 by udev to > >> apply a differen

Re: Synaptics LED support

2015-04-13 Thread Peter Hutterer
On Mon, Mar 09, 2015 at 10:44:36PM +0300, George Sedov wrote: > Hi all, > > Some synaptics touchpads have a LED embedded to the upper-left corner, > which is supposed to be used to disable the touchpad by double-tapping > it. In linux, the proper support for it was never mainlined. > > There were

Re: libinput and the Thinkpad Compact USB Keyboard

2015-04-13 Thread Peter Hutterer
On Mon, Mar 30, 2015 at 09:39:07PM +0200, Andreas Fleig wrote: > Hi, > > I recently updated my T440s to Fedora 22, and was happy about middle button > scrolling being enabled by default -- for the built-in trackpoint. Since I'm > an avid scroller, I needed to make this work for my "ThinkPad Compac

Re: [PATCH weston 5/6] toytoolkit: implement a window_present() helper function

2015-04-13 Thread Bryce Harrington
On Thu, Apr 09, 2015 at 06:24:46PM +0200, Manuel Bachmann wrote: > "window_present()" is a little helper function calling > "xdg_surface_present()" on a toytoolkit shell surface. > > Signed-off-by: Manuel Bachmann Reviewed-by: Bryce Harrington > --- > clients/window.c | 9 + > clients/

Re: [PATCH weston 1/6] xdg-shell: define the present/present_from_event() requests

2015-04-13 Thread Bryce Harrington
On Thu, Apr 09, 2015 at 06:22:53PM +0200, Manuel Bachmann wrote: > xdg_surface_present() and xdg_surface_present_from_event() > are new requests supposed to be called on an existing > xdg_surface. They tell the compositor that the surface > has new content which may be of interest to the user. > Th

Re: [PATCH weston 3/6] xdg-shell: implement the present() basic logic

2015-04-13 Thread Bryce Harrington
On Thu, Apr 09, 2015 at 06:23:51PM +0200, Manuel Bachmann wrote: > Whenever a shell surface is created, a corresponding > managed_surface object will be created and tracked down > down at the shell client level. > > Every valid call to xdg_surface_set_title(), > xdg_surface_present() or xdg_surfac

Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-13 Thread Vasily Khoruzhick
Hi Benjamin, On Mon, Apr 13, 2015 at 11:10 PM, Benjamin Tissoires wrote: > > Feel free to send the various parameters you set, and we will see if > we can include them (after comparison with other touchpads :-P). Is it possible to speedup two finger scroll somehow? Cursor movement with your para

Re: [PATCH libinput 3/3] udev: add a custom udev rule for X230 touchpads

2015-04-13 Thread Benjamin Tissoires
On Thu, Apr 9, 2015 at 11:45 PM, Peter Hutterer wrote: > On Thu, Apr 09, 2015 at 01:30:39PM -0400, Benjamin Tissoires wrote: >> X230 touchpads should be tagged as LIBINPUT_MODEL_LENOVO_X230 by udev to >> apply a different acceleration profile. >> >> Signed-off-by: Benjamin Tissoires >> --- >> ud

Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-13 Thread Benjamin Tissoires
On Mon, Apr 13, 2015 at 2:49 AM, Giulio Camuffo wrote: > Hi, > > I've been testing it for the last couple days, and i think it's an > improvement. However i think it could be better still, i feel the > pointer is too slow when moving the finger at a normal speed. > Hi Giulio, I see what you mean

Re: How to match versions of wayland/weston/freerdp?

2015-04-13 Thread Manuel Bachmann
Hi Marko, You might have found that information in older threads, but FreeRDP commit 2604ff20bd12e810cfeed735b80dbe90020d781c works well for us starting from Weston 1.5.0 (on x86/x86_64 at least, some people reported problems with ARM). Regards, Manuel 2015-03-13 21:54 GMT+01:00 Marko Moberg :

Re: libinput and the Thinkpad Compact USB Keyboard

2015-04-13 Thread Benjamin Tissoires
Hi Andreas, On Mon, Mar 30, 2015 at 3:39 PM, Andreas Fleig wrote: > Hi, > > I recently updated my T440s to Fedora 22, and was happy about middle button > scrolling being enabled by default -- for the built-in trackpoint. Since I'm > an avid scroller, I needed to make this work for my "ThinkPad Co

Re: xdg-shell and always centered surfaces

2015-04-13 Thread Jasper St. Pierre
Hi. set_window_geometry is about the "window geometry" of a surface, relative to the overall surface. It's a difficult concept to explain, but I feel the docs do a good enough job. Currently it's not possible to specify initial window location. Can you give your exact use case here so we can thin

I love wayland

2015-04-13 Thread Ajsa Ferguson
Hi, I started using gnome-wayland-session on fedora 21 a week ago and just have to say that I love wayland. I love that it is extremely quick and responsive. even if a browser window hangs (which as a web developer can happen) the rest of the environment (including other browser windows) are still

Synaptics LED support

2015-04-13 Thread George Sedov
Hi all, Some synaptics touchpads have a LED embedded to the upper-left corner, which is supposed to be used to disable the touchpad by double-tapping it. In linux, the proper support for it was never mainlined. There were a couple of out-of-tree patches (can be found here https://github.com/perus

libinput and the Thinkpad Compact USB Keyboard

2015-04-13 Thread Andreas Fleig
Hi, I recently updated my T440s to Fedora 22, and was happy about middle button scrolling being enabled by default -- for the built-in trackpoint. Since I'm an avid scroller, I needed to make this work for my "ThinkPad Compact USB Keyboard" as well. After some debugging I found that libinput

[Patch] weston-launch: Fix tight poll/recvmsg loop on weston exit

2015-04-13 Thread Bruno Prémont
When weston fails to run while being launched by weston-launch it's socketpair causes poll() to notify POLLIN|POLLHUP and lets recvmsg() return 0. Properly cleanup and exit in that case instead of poll()ing in a tight loop and leaving tty in graphics mode if we get SIGKILLed as only way out. This

How to match versions of wayland/weston/freerdp?

2015-04-13 Thread Marko Moberg
Hello there, I have a little question regarding Wayland/Weston and their compatibility with freeRdp. I am working on a fairly old Yocto branch ("dylan") but I need to enable support for Wayland/Weston with RDP. According to the info on the web, RDP support should be available from Wayland/Weston

xdg-shell and always centered surfaces

2015-04-13 Thread x414e54
I have been working on a GUI toolkit and looking to experiment porting it to wayland. Currently I am using a wl_shell_surface and have dialogs, tooltips, etc. working fine, just waiting on relative mouse for implementing spinners, rotations etc. However I am looking at positioning the initial par

Re: [PATCH weston 2/2] desktop-shell: Remove the panel popup

2015-04-13 Thread Pekka Paalanen
On Wed, 8 Apr 2015 11:51:58 -0700 Dima Ryazanov wrote: > It doesn't work anymore, and it never did anything useful. > > Signed-off-by: Dima Ryazanov > --- > clients/desktop-shell.c | 33 - > 1 file changed, 33 deletions(-) > > diff --git a/clients/desktop-shel

Re: [PATCH weston] desktop-shell: remove all running animations for a surface before fade out

2015-04-13 Thread Pekka Paalanen
On Fri, 10 Apr 2015 12:54:46 -0500 Derek Foreman wrote: > The completion of the fade out animation destroys a surface which fires > the surface destroy signal. Animations listen for the surface destroy > signal and destroy themselves as a response. > > If there's an animation running on a surfa

Re: [PATCH 2/6] compositor-drm: Allow instant start of repaint loop.

2015-04-13 Thread Pekka Paalanen
On Sun, 12 Apr 2015 23:56:57 +0200 Mario Kleiner wrote: > On 04/08/2015 11:14 AM, Pekka Paalanen wrote: > > On Wed, 08 Apr 2015 03:12:25 +0200 > > Mario Kleiner wrote: > > > >> On 04/07/2015 09:34 AM, Pekka Paalanen wrote: > >>> On Sat, 04 Apr 2015 19:45:10 +0200 > >>> Mario Kleiner wrote: > >>

Re: [PATCH libinput 1/3] evdev: any scroll device must have CAP_POINTER

2015-04-13 Thread Hans de Goede
Hi, On 13-04-15 02:23, Peter Hutterer wrote: Follow-up to e2f61b8fb74a06b86abd02caa4cdfde5edc53a32. Scroll events are sent through the pointer interface, so we must set the capability. Otherwise a caller may not have the required bits set up and is a bit surprised by events coming out of an int

Re: use compatible check for dot version

2015-04-13 Thread Pekka Paalanen
On Mon, 13 Apr 2015 09:58:43 +0200 Hector Oron wrote: > Hello, > > 2015-04-02 12:02 GMT+02:00 Pekka Paalanen : > > Ok, so will someone send a proper patch with that and we can assume the > > original patch superseded? > > Sure, find it attached! Sorry for late reply, I have been on vacations.

Re: use compatible check for dot version

2015-04-13 Thread Hector Oron
Hello, 2015-04-02 12:02 GMT+02:00 Pekka Paalanen : > Ok, so will someone send a proper patch with that and we can assume the > original patch superseded? Sure, find it attached! Sorry for late reply, I have been on vacations. Regards, -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. ---