mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 15:37:00 -05:00
update layer (meta_window_make_fullscreen): update layer
2002-08-07 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_unmake_fullscreen): update layer (meta_window_make_fullscreen): update layer * src/stack.c (compute_layer): put window on fullscreen layer if fullscreen
This commit is contained in:
parent
1e0d6c3346
commit
ebae7a654e
@ -1,3 +1,11 @@
|
|||||||
|
2002-08-07 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_unmake_fullscreen): update layer
|
||||||
|
(meta_window_make_fullscreen): update layer
|
||||||
|
|
||||||
|
* src/stack.c (compute_layer): put window on fullscreen layer if
|
||||||
|
fullscreen
|
||||||
|
|
||||||
2002-08-06 Craig Black <blackc@speakeasy.net>
|
2002-08-06 Craig Black <blackc@speakeasy.net>
|
||||||
|
|
||||||
* src/window.c: (meta_window_client_message): implement
|
* src/window.c: (meta_window_client_message): implement
|
||||||
|
@ -275,6 +275,9 @@ compute_layer (MetaWindow *window)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
if (window->fullscreen)
|
||||||
|
window->layer = META_LAYER_FULLSCREEN;
|
||||||
|
else
|
||||||
window->layer = META_LAYER_NORMAL;
|
window->layer = META_LAYER_NORMAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1632,7 +1632,7 @@ meta_window_make_fullscreen (MetaWindow *window)
|
|||||||
|
|
||||||
window->fullscreen = TRUE;
|
window->fullscreen = TRUE;
|
||||||
|
|
||||||
/* FIXME why did I put this here? */
|
meta_window_update_layer (window);
|
||||||
meta_window_raise (window);
|
meta_window_raise (window);
|
||||||
|
|
||||||
/* save size/pos as appropriate args for move_resize */
|
/* save size/pos as appropriate args for move_resize */
|
||||||
@ -1661,6 +1661,8 @@ meta_window_unmake_fullscreen (MetaWindow *window)
|
|||||||
|
|
||||||
window->fullscreen = FALSE;
|
window->fullscreen = FALSE;
|
||||||
|
|
||||||
|
meta_window_update_layer (window);
|
||||||
|
|
||||||
meta_window_move_resize (window,
|
meta_window_move_resize (window,
|
||||||
TRUE,
|
TRUE,
|
||||||
window->saved_rect.x,
|
window->saved_rect.x,
|
||||||
|
Loading…
Reference in New Issue
Block a user