diff options
author | Victor Kareh <[email protected]> | 2018-03-21 16:14:02 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 11:37:10 +0100 |
commit | 4d8f163e5f4625f7a7b4ccf85c4a8b8155ecb619 (patch) | |
tree | d16412c974b43e8b5f899a2de7cd3b1aba856759 /src | |
parent | f6e3326a361afcbdec9aeff018b786bf4e346fea (diff) | |
download | marco-4d8f163e5f4625f7a7b4ccf85c4a8b8155ecb619.tar.bz2 marco-4d8f163e5f4625f7a7b4ccf85c4a8b8155ecb619.tar.xz |
Use frame window to determine scale
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/frames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c index 9e67bfc4..80ee353c 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -1028,7 +1028,7 @@ meta_frames_move_resize_frame (MetaFrames *frames, old_width = gdk_window_get_width (frame->window); old_height = gdk_window_get_height (frame->window); - scale = gdk_window_get_scale_factor (gdk_get_default_root_window ()); + scale = gdk_window_get_scale_factor (frame->window); gdk_window_move_resize (frame->window, x / scale, y / scale, width / scale, height / scale); |