Re: [PATCH wayland] Add a relative_grab request to the wl_shell_surface interface

2012-08-27 Thread Pekka Paalanen
On Mon, 27 Aug 2012 13:45:17 -0700 Daniel Stone wrote: > Hi, > > On 27 August 2012 11:55, Philipp Brüschweiler wrote: > > This request can be used to grab the pointer of a specified seat. A > > pointer grabbed in this way will be made invisible and won't send any > > more motion events. Instead

Input method and input/output redirect under wayland

2012-08-27 Thread Yichao Yu
Hi, How can the proposed input method system[1] support the input method server drawing a window around the cursor for user interaction? For some input method (especially for CJK), it is important to have some user interaction before some text is finally committed (e.g. there might be more than o

Re: [PATCH 180/180] Look for $PREFIX/etc/X11/xorg.conf before /etc/X11/xorg.conf

2012-08-27 Thread Scott Moreau
On Mon, Aug 27, 2012 at 6:05 PM, Bill Spitzak wrote: > I realize now that this patch will only fix local (ie $PREFIX) installs of > xwayland, and that something else needs to be done so that real system > installs of wayland will work. > > The problem is if an /etc/X11/xorg.conf file exists, Xorg

Re: [PATCH 180/180] Look for $PREFIX/etc/X11/xorg.conf before /etc/X11/xorg.conf

2012-08-27 Thread Bill Spitzak
I realize now that this patch will only fix local (ie $PREFIX) installs of xwayland, and that something else needs to be done so that real system installs of wayland will work. The problem is if an /etc/X11/xorg.conf file exists, Xorg --wayland attempts to read it. If the text in the file caus

Re: Running xserver

2012-08-27 Thread Scott Moreau
On Mon, Aug 27, 2012 at 5:40 PM, Bill Spitzak wrote: > dar...@chaosreigns.com wrote: > > Wait, running wayland with the proprietary nvidia driver works at all? >> Isn't that... not possible (yet)? >> > > It works using the x11-compositor (ie wayland inside an X window) and > software emulation o

Re: Running xserver

2012-08-27 Thread Bill Spitzak
dar...@chaosreigns.com wrote: Wait, running wayland with the proprietary nvidia driver works at all? Isn't that... not possible (yet)? It works using the x11-compositor (ie wayland inside an X window) and software emulation of egl by mesa. It's slow but so far the best I have gotten (noeveau

Re: Running xserver

2012-08-27 Thread Scott Moreau
On Mon, Aug 27, 2012 at 3:32 PM, wrote: > On 08/27, Bill Spitzak wrote: > > I never expected any support for the nvidia driver. I ran noveau for > > months because of that, and if wayland stops working better on it I > > will go back without complaint (at the moment it works better > > because it

Re: Running xserver

2012-08-27 Thread darxus
On 08/27, Bill Spitzak wrote: > I never expected any support for the nvidia driver. I ran noveau for > months because of that, and if wayland stops working better on it I > will go back without complaint (at the moment it works better > because it does not have the xcb_poll bug I have mentioned bef

Re: Running xserver

2012-08-27 Thread Bill Spitzak
Scott Moreau wrote: It is not impossible, you are constantly shutting yourself down before you ever get up and running. You want to use proprietary driver? Fine. Use X. But don't expect any support for weston, at least not from me. I never expected any support for the nvidia driver. I ran nov

Re: [PATCH wayland] Add a relative_grab request to the wl_shell_surface interface

2012-08-27 Thread Daniel Stone
Hi, On 27 August 2012 11:55, Philipp Brüschweiler wrote: > This request can be used to grab the pointer of a specified seat. A > pointer grabbed in this way will be made invisible and won't send any > more motion events. Instead it reports relative motion using the motion > event on the returned

Re: Running xserver

2012-08-27 Thread Scott Moreau
Now I just read you're using the nvidia proprietary driver and I don't really have much more to say. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH 180/180] Look for $PREFIX/etc/X11/xorg.conf before /etc/X11/xorg.conf

2012-08-27 Thread Bill Spitzak
Scott Moreau wrote: For what it's worth, xwayland has always found my xorg.conf automatically in $prefix/etc/X11/ where prefix is a nonstandard path. That does not work if there is a file in /etc/X11/xorg.conf. It will find that one first, that is pretty obvious from the code and my testing.

Re: Running xserver

2012-08-27 Thread Scott Moreau
On Mon, Aug 27, 2012 at 1:41 PM, Bill Spitzak wrote: > Pekka Paalanen wrote: > > if you run weston without --xserver, it will never load xwayland.so, >> and therefore there will never be the special X window manager, that >> will map X window events into Wayland protocol. Therefore you will >> n

Re: Running xserver

2012-08-27 Thread Bill Spitzak
Pekka Paalanen wrote: if you run weston without --xserver, it will never load xwayland.so, and therefore there will never be the special X window manager, that will map X window events into Wayland protocol. Therefore you will never get an X window mapped in Weston. The special X window manager

[PATCH weston 2/2] relative-grab-demo: small demo client using relative grab

2012-08-27 Thread Philipp Brüschweiler
Click into the window to start a relative grab, the relative movement is displayed in the terminal. Press escape or change the window by using alt-tab to break the relative grab. --- clients/.gitignore | 1 + clients/Makefile.am | 4 + clients/relative-grab-demo.c | 171

[PATCH weston 1/2] relative-grab: first implementation

2012-08-27 Thread Philipp Brüschweiler
Support the relative_grab request introduced to wayland by a different patch. notify_motion is renamed to notify_motion_absolute; a new function called notify_motion_relative is added. A data source (i.e. pointer driver, be it evdev or an x11 pointer) should call the notify_motion function that wo

[PATCH wayland] Add a relative_grab request to the wl_shell_surface interface

2012-08-27 Thread Philipp Brüschweiler
This request can be used to grab the pointer of a specified seat. A pointer grabbed in this way will be made invisible and won't send any more motion events. Instead it reports relative motion using the motion event on the returned object. A grab can be broken by the application by destroying the

[RFC] Grab & relative motion

2012-08-27 Thread Philipp Brüschweiler
Hi everyone, This small patch series implements a simple type of grab & relative motion combination in both wayland and weston. For more details, please look at the commit messages. I'd be great to get some feedback on this, I'm not even sure if the general direction of the protocol change & impl

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-27 Thread Pekka Paalanen
On Wed, 22 Aug 2012 19:09:28 -0500 Rob Clark wrote: > From: Rob Clark > > Re-work how the shaders and emitted vertices work. Rather than always > rendering clip-rect sized quads and doing transformation in tex coords > (and requiring the corresponding clipping in frag shader), instead > emit t

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-27 Thread Pekka Paalanen
On Wed, 22 Aug 2012 19:48:28 -0500 Rob Clark wrote: > On Wed, Aug 22, 2012 at 7:38 PM, Scott Moreau wrote: > > > > > > On Wed, Aug 22, 2012 at 6:09 PM, Rob Clark wrote: > >> > >> From: Rob Clark > >> > >> Re-work how the shaders and emitted vertices work. Rather than always > >> rendering cli

Re: [PATCH 180/180] Look for $PREFIX/etc/X11/xorg.conf before /etc/X11/xorg.conf

2012-08-27 Thread Scott Moreau
On Sun, Aug 26, 2012 at 8:49 PM, wrote: > From: Bill Spitzak > > Otherwise it is rather hard to test xwayland and still have a > working X11. > > There are numerous other instances of %P in the code, in all cases > I think the paths need to be edited so that the prefix is looked > in first (or a