mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
follow windows to their new workspace
2002-05-24 Havoc Pennington <hp@pobox.com> * src/window.c (menu_callback): follow windows to their new workspace * src/keybindings.c (handle_move_to_workspace): follow windows to their new workspace
This commit is contained in:
parent
a4fe1ad960
commit
cc3c995d80
@ -1,3 +1,11 @@
|
|||||||
|
2002-05-24 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/window.c (menu_callback): follow windows to their new
|
||||||
|
workspace
|
||||||
|
|
||||||
|
* src/keybindings.c (handle_move_to_workspace): follow windows to
|
||||||
|
their new workspace
|
||||||
|
|
||||||
2002-05-24 Havoc Pennington <hp@pobox.com>
|
2002-05-24 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/metacity.schemas: add minimize window binding
|
* src/metacity.schemas: add minimize window binding
|
||||||
|
@ -1692,7 +1692,9 @@ handle_move_to_workspace (MetaDisplay *display,
|
|||||||
|
|
||||||
if (workspace)
|
if (workspace)
|
||||||
{
|
{
|
||||||
|
/* Activate second, so the window is never unmapped */
|
||||||
meta_window_change_workspace (window, workspace);
|
meta_window_change_workspace (window, workspace);
|
||||||
|
meta_workspace_activate (workspace);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -5263,8 +5263,11 @@ menu_callback (MetaWindowMenu *menu,
|
|||||||
workspace_index);
|
workspace_index);
|
||||||
|
|
||||||
if (workspace)
|
if (workspace)
|
||||||
meta_window_change_workspace (window,
|
{
|
||||||
workspace);
|
meta_window_change_workspace (window,
|
||||||
|
workspace);
|
||||||
|
meta_workspace_activate (workspace);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
meta_warning ("Workspace %d doesn't exist\n", workspace_index);
|
meta_warning ("Workspace %d doesn't exist\n", workspace_index);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user