[PATCH 0/15] Modifier fixups (especially for nested)

Kristian Høgsberg hoegsberg at gmail.com
Fri Jun 22 12:47:55 PDT 2012


On Fri, Jun 22, 2012 at 03:02:03PM -0400, Kristian Høgsberg wrote:
> On Fri, Jun 22, 2012 at 01:21:25PM +0100, Daniel Stone wrote:
> > Hi,
> > The following series makes nested compositors in particular track their
> > parent server's state more aggressively.  The main highlight is probably
> > that the stuck modifiers bug under X11 should be completely gone, as
> > well as enabling key bindings under GNOME Shell and other compositors
> > that grab modifiers.
> > 
> > The X11 integration works best if you have a fixed XCB, i.e. xcbproto
> > and libxcb from git from today, with XKB explicitly enabled.  However,
> > I've done what I could for the non-XKB case and it seems to work just
> > fine.
> 
> Thanks, all applied.  I fixed a typo in wayland where you send out the
> modifier event through the pointer resource.  Also I added a commit to
> send out the modifier event to the pointer focus if it's different
> from keyboard focus.  I believe that with this we now send out the
> modifier event in all the right places.
> 
> Under X the stuck modifer problem is gone (yay!), but without XKB
> support, my Alt now doesn't work.  Ctrl, Shift, Super etc does, which
> is a little odd... this fixes it:

I just tried it with xcb master and the stuck modifier is gone, but if
I alt-tab away and then back to weston, alt just doesn't work.  It
doesn't trigger modifier events, it just sends the regular key event.

Gah.

Kristian


More information about the wayland-devel mailing list