[PATCH] dix: EventToCore needs to copy the root window too.

Keith Packard keithp at keithp.com
Wed Jan 27 13:43:59 PST 2010


On Tue, 5 Jan 2010 16:31:37 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:

> --- a/dix/eventconvert.c
> +++ b/dix/eventconvert.c
> @@ -119,6 +119,7 @@ EventToCore(InternalEvent *event, xEvent *core)
>                  core->u.keyButtonPointer.rootX = e->root_x;
>                  core->u.keyButtonPointer.rootY = e->root_y;
>                  core->u.keyButtonPointer.state = e->corestate;
> +                core->u.keyButtonPointer.root = e->root;
>                  EventSetKeyRepeatFlag(core, (e->type == ET_KeyPress && e->key_repeat));
>              }
>              break;

Note that this breaks 'make check'. Please either fix the test or I'll
revert this patch...

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100127/0c805421/attachment.pgp 


More information about the xorg-devel mailing list