Re: [PATCH weston 3/4] shell: Use pid when binding the client shell

2013-04-04 Thread Kristian Høgsberg
On Thu, Apr 04, 2013 at 06:07:39PM -0300, Tiago Vignatti wrote: > If a shell client decides to call wl_display_connect more than once and only > later bind the desktop_shell interface, then the logic that uses the client > pointer fails, because the current client trying to connect won't match with

[PATCH weston 3/4] shell: Use pid when binding the client shell

2013-04-04 Thread Tiago Vignatti
If a shell client decides to call wl_display_connect more than once and only later bind the desktop_shell interface, then the logic that uses the client pointer fails, because the current client trying to connect won't match with the first one assigned there. In special, GTK+ is connecting twice e