mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20: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>
|
||||
|
||||
* src/metacity.schemas: add minimize window binding
|
||||
|
@ -1692,7 +1692,9 @@ handle_move_to_workspace (MetaDisplay *display,
|
||||
|
||||
if (workspace)
|
||||
{
|
||||
/* Activate second, so the window is never unmapped */
|
||||
meta_window_change_workspace (window, workspace);
|
||||
meta_workspace_activate (workspace);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -5263,8 +5263,11 @@ menu_callback (MetaWindowMenu *menu,
|
||||
workspace_index);
|
||||
|
||||
if (workspace)
|
||||
meta_window_change_workspace (window,
|
||||
workspace);
|
||||
{
|
||||
meta_window_change_workspace (window,
|
||||
workspace);
|
||||
meta_workspace_activate (workspace);
|
||||
}
|
||||
else
|
||||
meta_warning ("Workspace %d doesn't exist\n", workspace_index);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user