mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 08:24:09 +00:00
parent
c6f8ad24bd
commit
b79e6c0b3e
@ -1022,10 +1022,9 @@ meta_frames_move_resize_frame (MetaFrames *frames,
|
|||||||
int height)
|
int height)
|
||||||
{
|
{
|
||||||
MetaUIFrame *frame = meta_frames_lookup_window (frames, xwindow);
|
MetaUIFrame *frame = meta_frames_lookup_window (frames, xwindow);
|
||||||
int old_x, old_y, old_width, old_height;
|
int old_width, old_height;
|
||||||
|
|
||||||
gdk_drawable_get_size (frame->window, &old_width, &old_height);
|
gdk_drawable_get_size (frame->window, &old_width, &old_height);
|
||||||
gdk_window_get_position (frame->window, &old_x, &old_y);
|
|
||||||
|
|
||||||
gdk_window_move_resize (frame->window, x, y, width, height);
|
gdk_window_move_resize (frame->window, x, y, width, height);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user