mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
support initial on-all-workspaces setting
2001-10-24 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_new): support initial on-all-workspaces setting
This commit is contained in:
parent
85a01b3945
commit
2af36b1e56
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-24 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_new): support initial
|
||||||
|
on-all-workspaces setting
|
||||||
|
|
||||||
2001-10-22 Havoc Pennington <hp@pobox.com>
|
2001-10-22 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/stack.c (meta_stack_sync_to_server): fix to keep desktop
|
* src/stack.c (meta_stack_sync_to_server): fix to keep desktop
|
||||||
|
@ -426,6 +426,13 @@ meta_window_new (MetaDisplay *display, Window xwindow,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (window->initial_workspace_set)
|
if (window->initial_workspace_set)
|
||||||
|
{
|
||||||
|
if (window->initial_workspace == 0xFFFFFFFF)
|
||||||
|
{
|
||||||
|
meta_workspace_add_window (window->screen->active_workspace, window);
|
||||||
|
window->on_all_workspaces = TRUE;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
space =
|
space =
|
||||||
meta_display_get_workspace_by_screen_index (window->display,
|
meta_display_get_workspace_by_screen_index (window->display,
|
||||||
@ -435,6 +442,7 @@ meta_window_new (MetaDisplay *display, Window xwindow,
|
|||||||
if (space)
|
if (space)
|
||||||
meta_workspace_add_window (space, window);
|
meta_workspace_add_window (space, window);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (window->workspaces == NULL &&
|
if (window->workspaces == NULL &&
|
||||||
window->xtransient_for != None)
|
window->xtransient_for != None)
|
||||||
|
Loading…
Reference in New Issue
Block a user