mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 23:46:33 -05:00
Revert "window: Stop a gcc warning"
This reverts commit 335d211204
trying
not to trigger the uninitialized variable warning in gcc.
This commit is contained in:
parent
58a57185b7
commit
f16f47bd38
@ -10754,17 +10754,20 @@ void
|
||||
meta_window_compute_tile_match (MetaWindow *window)
|
||||
{
|
||||
MetaWindow *match;
|
||||
MetaTileMode match_tile_mode;
|
||||
MetaStack *stack;
|
||||
MetaTileMode match_tile_mode = META_TILE_NONE;
|
||||
|
||||
window->tile_match = NULL;
|
||||
|
||||
if (window->shaded ||
|
||||
window->minimized ||
|
||||
!META_WINDOW_TILED_SIDE_BY_SIDE (window))
|
||||
if (window->shaded || window->minimized)
|
||||
return;
|
||||
|
||||
match_tile_mode = window->tile_mode;
|
||||
if (META_WINDOW_TILED_LEFT (window))
|
||||
match_tile_mode = META_TILE_RIGHT;
|
||||
else if (META_WINDOW_TILED_RIGHT (window))
|
||||
match_tile_mode = META_TILE_LEFT;
|
||||
else
|
||||
return;
|
||||
|
||||
stack = window->screen->stack;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user