Skip to content
Permalink
Browse files

Use frame window to determine scale

  • Loading branch information...
vkareh authored and raveit65 committed Mar 21, 2018
1 parent b9fd3c1 commit 44b60b06e9283c918003dfcfcf15767a9f17859d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 44b60b0

Please sign in to comment.
You can’t perform that action at this time.