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:
Giovanni Campagna
2012-04-14 15:12:48 +02:00
parent e31f55e146
commit f65b7c59d3
5 changed files with 23 additions and 1 deletions

View File

@ -5677,6 +5677,9 @@ meta_window_change_workspace (MetaWindow *window,
{
g_return_if_fail (!window->override_redirect);
if (window->always_sticky)
return;
meta_window_change_workspace_without_transients (window, workspace);
meta_window_foreach_transient (window, change_workspace_foreach,