mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
patch from Hidetoshi Tajima to move a window's transients when moving the
2002-11-22 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_change_workspace): patch from Hidetoshi Tajima to move a window's transients when moving the window between workspaces. #98900 2002-11-21 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_open): init ret_to to RevertToPointerRoot out of sheer paranoia; don't want no RevertToNone in my code!
This commit is contained in:
parent
5452a0ecac
commit
fd135d0869
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
2002-11-22 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_change_workspace): patch from
|
||||||
|
Hidetoshi Tajima to move a window's transients when moving
|
||||||
|
the window between workspaces. #98900
|
||||||
|
|
||||||
|
2002-11-21 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/display.c (meta_display_open): init ret_to to
|
||||||
|
RevertToPointerRoot out of sheer paranoia; don't want no
|
||||||
|
RevertToNone in my code!
|
||||||
|
|
||||||
2002-11-21 Havoc Pennington <hp@pobox.com>
|
2002-11-21 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/window.c (update_initial_workspace): delete
|
* src/window.c (update_initial_workspace): delete
|
||||||
|
@ -528,7 +528,7 @@ meta_display_open (const char *name)
|
|||||||
meta_error_trap_push (display);
|
meta_error_trap_push (display);
|
||||||
|
|
||||||
focus = None;
|
focus = None;
|
||||||
ret_to = RevertToNone;
|
ret_to = RevertToPointerRoot;
|
||||||
XGetInputFocus (display->xdisplay, &focus, &ret_to);
|
XGetInputFocus (display->xdisplay, &focus, &ret_to);
|
||||||
|
|
||||||
/* Force a new FocusIn (does this work?) */
|
/* Force a new FocusIn (does this work?) */
|
||||||
|
21
src/window.c
21
src/window.c
@ -2960,8 +2960,8 @@ meta_window_focus (MetaWindow *window,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_window_change_workspace (MetaWindow *window,
|
meta_window_change_workspace_without_transients (MetaWindow *window,
|
||||||
MetaWorkspace *workspace)
|
MetaWorkspace *workspace)
|
||||||
{
|
{
|
||||||
GList *next;
|
GList *next;
|
||||||
@ -2997,6 +2997,23 @@ meta_window_change_workspace (MetaWindow *window,
|
|||||||
g_assert (window->workspaces->next == NULL);
|
g_assert (window->workspaces->next == NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
change_workspace_foreach (MetaWindow *window,
|
||||||
|
void *data)
|
||||||
|
{
|
||||||
|
meta_window_change_workspace_without_transients (window, data);
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
meta_window_change_workspace (MetaWindow *window,
|
||||||
|
MetaWorkspace *workspace)
|
||||||
|
{
|
||||||
|
meta_window_change_workspace_without_transients (window, workspace);
|
||||||
|
|
||||||
|
meta_window_foreach_transient (window, change_workspace_foreach,
|
||||||
|
workspace);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
meta_window_stick (MetaWindow *window)
|
meta_window_stick (MetaWindow *window)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user