summaryrefslogtreecommitdiff
path: root/src/meta
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-07-22 01:14:14 +0200
committerCarlos Garnacho <carlosg@gnome.org>2014-07-24 18:05:56 +0200
commit41fdc4ac2ee46b9ffe5b9a99f48989559baaeb8e (patch)
tree711cc50d6c13756a96dbf858dc45d277c7197a62 /src/meta
parent177ec27cca10298db1997554d48f8f0f8452ffbe (diff)
downloadmutter-41fdc4ac2ee46b9ffe5b9a99f48989559baaeb8e.tar.gz
display: Add meta_display_is_pointer_emulating_sequence()
This function tells the obvious on X11, and implements a similar mechanism on wayland to determine the "pointer emulating" sequence, or one to stick with when implementing single-touch behavior. https://bugzilla.gnome.org/show_bug.cgi?id=733631
Diffstat (limited to 'src/meta')
-rw-r--r--src/meta/display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meta/display.h b/src/meta/display.h
index 0c420fde3..8b1289989 100644
--- a/src/meta/display.h
+++ b/src/meta/display.h
@@ -182,4 +182,7 @@ void meta_display_ungrab_keyboard (MetaDisplay *display,
guint32 timestamp);
void meta_display_unfreeze_keyboard (MetaDisplay *display,
guint32 timestamp);
+gboolean meta_display_is_pointer_emulating_sequence (MetaDisplay *display,
+ ClutterEventSequence *sequence);
+
#endif