Re: [PATCH weston] xwayland: set surface_id to 0 when client resource is found

2014-07-24 Thread Jason Ekstrand
Thanks. I just pushed this (with a small fix to change the variable name from "surface" to "id"). --Jason Ekstrand On Sun, Jul 20, 2014 at 1:10 AM, Boyan Ding wrote: > Only when reading through mails today did I find I had duplicated > efforts [1], sorry. > > This patch is > Reviewed-by: Boyan

Re: [PATCH weston] xwayland: set surface_id to 0 when client resource is found

2014-07-20 Thread Boyan Ding
Only when reading through mails today did I find I had duplicated efforts [1], sorry. This patch is Reviewed-by: Boyan Ding [1] http://lists.freedesktop.org/archives/wayland-devel/2014-July/015943.html On Wed, 2014-07-02 at 15:00 -0700, Tyler Veness wrote: > When Xwayland requests that a wl_sur

[PATCH weston] xwayland: set surface_id to 0 when client resource is found

2014-07-02 Thread Tyler Veness
When Xwayland requests that a wl_surface be created and the X event is handled before the wayland requests, a surface ID is stored to window->surface_id and the window is added to the unpaired window list. When weston_wm_create_surface is called, the window is removed from the list and window->surf