mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
compositor: Add "locate_pointer" vmethod
This method is invoked to locate the pointer on screen. https://gitlab.gnome.org/GNOME/mutter/merge_requests/453 https://gitlab.gnome.org/GNOME/gnome-shell/issues/981 https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19 https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86
This commit is contained in:

committed by
Carlos Garnacho

parent
c9cc07fd3a
commit
b4c78726cf
@ -239,6 +239,16 @@ struct _MetaPluginClass
|
||||
*/
|
||||
MetaInhibitShortcutsDialog * (* create_inhibit_shortcuts_dialog) (MetaPlugin *plugin,
|
||||
MetaWindow *window);
|
||||
|
||||
/**
|
||||
* MetaPluginClass::locate_pointer:
|
||||
*
|
||||
* Virtual function called when the user triggered the "locate-pointer"
|
||||
* mechanism.
|
||||
* The common way to implement this function is to show some animation
|
||||
* on screen to draw user attention on the pointer location.
|
||||
*/
|
||||
void (*locate_pointer) (MetaPlugin *plugin);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user