Re: GTK hardware scancodes for wayland / detecting XWayland

2015-01-22 Thread Daniel P. Berrange
On Thu, Jan 22, 2015 at 01:30:26PM +, Daniel Stone wrote: > Hi, > > On 22 January 2015 at 08:40, Daniel P. Berrange wrote: > > On Wed, Jan 21, 2015 at 04:32:46PM -0800, Jasper St. Pierre wrote: > >> On Wed, Jan 21, 2015 at 7:03 AM, Daniel P. Berrange > >>

Re: GTK hardware scancodes for wayland / detecting XWayland

2015-01-22 Thread Daniel P. Berrange
On Wed, Jan 21, 2015 at 04:32:46PM -0800, Jasper St. Pierre wrote: > On Wed, Jan 21, 2015 at 7:03 AM, Daniel P. Berrange > wrote: > > > I'm trying to port GTK-VNC to work correctly under Wayland, both as > > a native client and as an Xwayland client. The only place we

GTK hardware scancodes for wayland / detecting XWayland

2015-01-21 Thread Daniel P. Berrange
I'm trying to port GTK-VNC to work correctly under Wayland, both as a native client and as an Xwayland client. The only place we have any code that is specific to particular display servers is the keyboard handling. We can't use the GdkEventKey keyval directly because that results in having todo lo