mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
set the current workspace hint
2001-10-25 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_new): set the current workspace hint
This commit is contained in:
parent
d080f816b6
commit
3e92e3b1df
@ -1,3 +1,7 @@
|
|||||||
|
2001-10-25 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_new): set the current workspace hint
|
||||||
|
|
||||||
2001-10-25 Havoc Pennington <hp@pobox.com>
|
2001-10-25 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/window.c (meta_window_visible_on_workspace):
|
* src/window.c (meta_window_visible_on_workspace):
|
||||||
|
@ -476,7 +476,7 @@ meta_window_new (MetaDisplay *display, Window xwindow,
|
|||||||
|
|
||||||
meta_workspace_add_window (space, window);
|
meta_workspace_add_window (space, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Only accept USPosition on normal windows because the app is full
|
/* Only accept USPosition on normal windows because the app is full
|
||||||
* of shit claiming the user set -geometry for a dialog or dock
|
* of shit claiming the user set -geometry for a dialog or dock
|
||||||
*/
|
*/
|
||||||
@ -510,6 +510,9 @@ meta_window_new (MetaDisplay *display, Window xwindow,
|
|||||||
*/
|
*/
|
||||||
window->on_all_workspaces = TRUE;
|
window->on_all_workspaces = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* for the various on_all_workspaces = TRUE possible above */
|
||||||
|
meta_window_set_current_workspace_hint (window);
|
||||||
|
|
||||||
/* Put our state back where it should be,
|
/* Put our state back where it should be,
|
||||||
* passing TRUE for is_configure_request, ICCCM says
|
* passing TRUE for is_configure_request, ICCCM says
|
||||||
|
Loading…
Reference in New Issue
Block a user