Re: Show/HideWayland window

2012-03-15 Thread yan . wang
I may destroy (Hide) and re-construct surafce (show) to achieve this point. But I think we may have 2 reasons to implement show/hide: 1. It may reduce unnecessary cost when switch frequently. 2. re-construct surface may have to restore some user data. If wayland could do this, it could avoid applic

Re: Transient window could not follow parent window when moving

2012-03-15 Thread yan . wang
Thanks for your tips. I tried to call wl_shell_surface_move recursively for transient window but no effect. Should I re-set transient surface or other operations? Yan Wang > I think you are required to respond to configure requests by moving all > the necessary windows, not just the one the reque

Re: Transient window could not follow parent window when moving

2012-03-15 Thread Bill Spitzak
I think you are required to respond to configure requests by moving all the necessary windows, not just the one the request was for. Wayland should not have to remember window hierarchies. I have argued before that this can get insanely complex. yan.w...@linux.intel.com wrote: Hi, All, I

Re: Show/HideWayland window

2012-03-15 Thread Bill Spitzak
There was a bit of discussion about this because I thought it was necessary, too. However it appears that there is no actual reason to differentiate hide from the destruction of the surface (you then show by making a new surface and attaching the image buffer to that). yan.w...@linux.intel.com

Re: Build problems on Ubuntu Natty (11.04)

2012-03-15 Thread Bill Spitzak
Well this sounds reassuring. Is there any way to get the *newest* Nouveau driver, or is the one in the Ubuntu repository about as new as I am going to find? I suspect compiling it from git will requiring compiling *all* of X11, which from what I heard is a nightmare that I might want to avoid

Show/HideWayland window

2012-03-15 Thread yan . wang
Hi, All, Current Wayland seems not support to show/hide existed Wayland Window. May it be implemented in the future? Many applications need this feature. (E.g. chromium browser) Thanks. Best regards Yan Wang ___ wayland-devel mailing list wayland

Transient window could not follow parent window when moving

2012-03-15 Thread yan . wang
Hi, All, I found transient window couldn't follow parent window when moving parent window by wl_shell_surface_move in current Weston. May it be implemented in the future? Thanks. Best regards, Yan Wang ___ wayland-devel mailing list wayland-deve

Re: Can't build xwayland

2012-03-15 Thread Nerdopolis
writes: (Pruned for GMANE) I export these variables in my build script for xwayland export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/ export ACLOCAL="aclocal -I $WLD/share/aclocal" export C_INCLUDE_PATH=$WLD/include export LIBRARY_PATH=$WLD/lib export PKG_CONFIG_ALLOW_SYSTEM_CFL

Re: Build problems on Ubuntu Natty (11.04)

2012-03-15 Thread Daniel Stone
Hi, On 15 March 2012 19:42, Bill Spitzak wrote: > Pekka Paalanen wrote: >> Installing weston without suid should be a workaround. > > I have not figured out how to re-run configure to disable the need for sudo. > So instead I am doing "sudo make install" and then removing the setuid bit > from we

Re: Updated Ubuntu build script

2012-03-15 Thread Andrew Guertin
On 03/15/2012 03:54 PM, Bill Spitzak wrote: > dar...@chaosreigns.com wrote: > >> "sudo usermod -a -G video username" > > I tried this, it ran without complaint, but made no difference. You need to log out and log back in before group additions take effect. --Andrew _

Re: Build problems on Ubuntu Natty (11.04)

2012-03-15 Thread Pekka Paalanen
On Thu, 15 Mar 2012 12:42:00 -0700 Bill Spitzak wrote: > QUESTIONS: > > Is there any chance my old graphics card is to blame? However > nouveau seems to work fine in this card, and OpenGL programs run. > Also weston certainly drew *some* graphics (that icon, it's glow, > and the cursors). I wou

Re: Updated Ubuntu build script

2012-03-15 Thread Bill Spitzak
dar...@chaosreigns.com wrote: "sudo usermod -a -G video username" I tried this, it ran without complaint, but made no difference. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland

Re: Build problems on Ubuntu Natty (11.04)

2012-03-15 Thread Bill Spitzak
Pekka Paalanen wrote: Installing weston without suid should be a workaround. I have not figured out how to re-run configure to disable the need for sudo. So instead I am doing "sudo make install" and then removing the setuid bit from weston. This certainly does make things better. I have a

Re: [PATCH 2/2] evdev: open in nonblocking mode

2012-03-15 Thread Ander Conselvan de Oliveira
On 03/14/2012 08:29 PM, Tiago Vignatti wrote: mtdev exposed an issue in which device fd blocks inside the library freezing Weston: 0x004d696e in mtdev_fetch_event (dev=0x9fe64a8, fd=19, ev=0xbfda3438) 0x004d6a77 in mtdev_get (dev=0x9fe64a8, fd=19, ev=0xbfda3478, ev_max=8) 0x0097720b in

Re: [PATCH v2] parser: be more picky for integer values

2012-03-15 Thread Pekka Paalanen
Hi Tiago, looks much better. Some comments still... On Wed, 14 Mar 2012 20:08:30 -0300 Tiago Vignatti wrote: > It was silently accepting "-i=3", "-i=3/2", "--idle-time=*3" and similar > unwanted type of arguments, not changing anything internally; this > gives the wrong impression for the user