mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Fix bug where multiple entries could appear in MRU lists, or no entry when
2003-09-20 Rob Adams <readams@readams.net> Fix bug where multiple entries could appear in MRU lists, or no entry when sticking/unsticking windows. Fix for #122016 * src/window.c (meta_window_stick): use window->screen->workspaces instead of window->workspaces. (meta_window_unstick): use window->screen->workspaces instead of window->workspaces.
This commit is contained in:
parent
de44b2d794
commit
dc40522ea7
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2003-09-20 Rob Adams <readams@readams.net>
|
||||||
|
|
||||||
|
Fix bug where multiple entries could appear in MRU lists, or no
|
||||||
|
entry when sticking/unsticking windows. Fix for #122016
|
||||||
|
|
||||||
|
* src/window.c (meta_window_stick): use window->screen->workspaces
|
||||||
|
instead of window->workspaces.
|
||||||
|
(meta_window_unstick): use window->screen->workspaces instead of
|
||||||
|
window->workspaces.
|
||||||
|
|
||||||
2003-09-19 Rob Adams <readams@readams.net>
|
2003-09-19 Rob Adams <readams@readams.net>
|
||||||
|
|
||||||
Fix a bug with partial-width panel struts caused by incorrect
|
Fix a bug with partial-width panel struts caused by incorrect
|
||||||
|
@ -3204,7 +3204,7 @@ meta_window_stick (MetaWindow *window)
|
|||||||
|
|
||||||
/* We do, however, change the MRU lists of all the workspaces
|
/* We do, however, change the MRU lists of all the workspaces
|
||||||
*/
|
*/
|
||||||
tmp = window->workspaces;
|
tmp = window->screen->workspaces;
|
||||||
while (tmp)
|
while (tmp)
|
||||||
{
|
{
|
||||||
workspace = (MetaWorkspace *) tmp->data;
|
workspace = (MetaWorkspace *) tmp->data;
|
||||||
@ -3233,7 +3233,7 @@ meta_window_unstick (MetaWindow *window)
|
|||||||
window->on_all_workspaces = FALSE;
|
window->on_all_workspaces = FALSE;
|
||||||
|
|
||||||
/* Remove window from MRU lists that it doesn't belong in */
|
/* Remove window from MRU lists that it doesn't belong in */
|
||||||
tmp = window->workspaces;
|
tmp = window->screen->workspaces;
|
||||||
while (tmp)
|
while (tmp)
|
||||||
{
|
{
|
||||||
workspace = (MetaWorkspace *) tmp->data;
|
workspace = (MetaWorkspace *) tmp->data;
|
||||||
|
Loading…
Reference in New Issue
Block a user