Fix reduced resources resize handling for windows with sizing or resizing
2006-01-09 Elijah Newren <newren@gmail.com> Fix reduced resources resize handling for windows with sizing or resizing constraints. #325774. * src/display.c (meta_display_end_grab_op): Provide constraints.c with the correct gravity information.
This commit is contained in:
parent
d884f9ce8a
commit
ae52d731be
@ -1,3 +1,11 @@
|
|||||||
|
2006-01-09 Elijah Newren <newren@gmail.com>
|
||||||
|
|
||||||
|
Fix reduced resources resize handling for windows with sizing or
|
||||||
|
resizing constraints. #325774.
|
||||||
|
|
||||||
|
* src/display.c (meta_display_end_grab_op): Provide constraints.c
|
||||||
|
with the correct gravity information.
|
||||||
|
|
||||||
2006-01-09 Elijah Newren <newren@gmail.com>
|
2006-01-09 Elijah Newren <newren@gmail.com>
|
||||||
|
|
||||||
Be more strict about what is considered a valid region with
|
Be more strict about what is considered a valid region with
|
||||||
|
@ -3496,12 +3496,19 @@ meta_display_end_grab_op (MetaDisplay *display,
|
|||||||
meta_window_end_wireframe (display->grab_window);
|
meta_window_end_wireframe (display->grab_window);
|
||||||
|
|
||||||
if (!display->grab_was_cancelled)
|
if (!display->grab_was_cancelled)
|
||||||
meta_window_move_resize (display->grab_window,
|
{
|
||||||
TRUE,
|
if (meta_grab_op_is_moving (display->grab_op))
|
||||||
display->grab_wireframe_rect.x,
|
meta_window_move (display->grab_window,
|
||||||
display->grab_wireframe_rect.y,
|
TRUE,
|
||||||
display->grab_wireframe_rect.width,
|
display->grab_wireframe_rect.x,
|
||||||
display->grab_wireframe_rect.height);
|
display->grab_wireframe_rect.y);
|
||||||
|
if (meta_grab_op_is_resizing (display->grab_op))
|
||||||
|
meta_window_resize_with_gravity (display->grab_window,
|
||||||
|
TRUE,
|
||||||
|
display->grab_wireframe_rect.width,
|
||||||
|
display->grab_wireframe_rect.height,
|
||||||
|
meta_resize_gravity_from_grab_op (display->grab_op));
|
||||||
|
}
|
||||||
meta_window_calc_showing (display->grab_window);
|
meta_window_calc_showing (display->grab_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user