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:
parent
bab51cbbe4
commit
90cf43da9f
@ -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)
|
||||
*
|
||||
|
@ -67,6 +67,7 @@ typedef enum
|
||||
void meta_display_get_compositor_version (MetaDisplay *display,
|
||||
int *major,
|
||||
int *minor);
|
||||
int meta_display_get_xinput_opcode (MetaDisplay *display);
|
||||
Display *meta_display_get_xdisplay (MetaDisplay *display);
|
||||
MetaCompositor *meta_display_get_compositor (MetaDisplay *display);
|
||||
GSList *meta_display_get_screens (MetaDisplay *display);
|
||||
|
Loading…
Reference in New Issue
Block a user