[mutter] backend-x11: Add KeyPress / KeyRelease to mask
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backend-x11: Add KeyPress / KeyRelease to mask
- Date: Wed, 23 Apr 2014 18:23:27 +0000 (UTC)
commit fdd43fc2d9707201e67c9708218a0f05d5e88957
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Apr 23 13:36:11 2014 -0400
backend-x11: Add KeyPress / KeyRelease to mask
src/backends/x11/meta-backend-x11.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/x11/meta-backend-x11.c b/src/backends/x11/meta-backend-x11.c
index bb7fb9b..5fbdcdf 100644
--- a/src/backends/x11/meta-backend-x11.c
+++ b/src/backends/x11/meta-backend-x11.c
@@ -221,6 +221,8 @@ meta_backend_x11_grab_device (MetaBackend *backend,
XISetMask (mask.mask, XI_Enter);
XISetMask (mask.mask, XI_Leave);
XISetMask (mask.mask, XI_Motion);
+ XISetMask (mask.mask, XI_KeyPress);
+ XISetMask (mask.mask, XI_KeyRelease);
MetaCursorTracker *tracker = meta_cursor_tracker_get_for_screen (NULL);
MetaCursorReference *cursor_ref = meta_cursor_tracker_get_displayed_cursor (tracker);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]