window: Initialize the result here
The vfuncs simply |= their results into the result variable, so we need to make sure we start out with nothing.
This commit is contained in:
parent
becce7afa0
commit
59541dfa14
@ -4229,7 +4229,7 @@ meta_window_move_resize_internal (MetaWindow *window,
|
|||||||
MetaRectangle new_rect;
|
MetaRectangle new_rect;
|
||||||
MetaRectangle old_rect;
|
MetaRectangle old_rect;
|
||||||
MetaRectangle requested_rect;
|
MetaRectangle requested_rect;
|
||||||
MetaMoveResizeResultFlags result;
|
MetaMoveResizeResultFlags result = 0;
|
||||||
MetaFrameBorders borders;
|
MetaFrameBorders borders;
|
||||||
|
|
||||||
g_return_if_fail (!window->override_redirect);
|
g_return_if_fail (!window->override_redirect);
|
||||||
|
Loading…
Reference in New Issue
Block a user