mirror of
https://github.com/brl/mutter.git
synced 2025-07-04 10:05:31 +00:00
Make it possible to reimplement move-to-workspace keybindings from plugins
Export the necessary functions so that a plugin that wishes to do so can reimplement those keybindings without loss of functionality. https://bugzilla.gnome.org/show_bug.cgi?id=674104
This commit is contained in:
@ -5535,3 +5535,18 @@ meta_display_get_leader_window (MetaDisplay *display)
|
||||
{
|
||||
return display->leader_window;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_display_clear_mouse_mode:
|
||||
* @display: a #MetaDisplay
|
||||
*
|
||||
* Sets the mouse-mode flag to %FALSE, which means that motion events are
|
||||
* no longer ignored in mouse or sloppy focus.
|
||||
* This is an internal function. It should be used only for reimplementing
|
||||
* keybindings, and only in a manner compatible with core code.
|
||||
*/
|
||||
void
|
||||
meta_display_clear_mouse_mode (MetaDisplay *display)
|
||||
{
|
||||
display->mouse_mode = FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user