mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
display: Expose the xinput opcode
This is needed by the shell to filter out certain events https://bugzilla.gnome.org/show_bug.cgi?id=690590
This commit is contained in:
@ -5677,6 +5677,16 @@ meta_display_get_compositor_version (MetaDisplay *display,
|
||||
*minor = display->composite_minor_version;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_display_get_xinput_opcode: (skip)
|
||||
*
|
||||
*/
|
||||
int
|
||||
meta_display_get_xinput_opcode (MetaDisplay *display)
|
||||
{
|
||||
return display->xinput_opcode;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_display_get_xdisplay: (skip)
|
||||
*
|
||||
|
Reference in New Issue
Block a user