forked from AuroraMiddleware/gtk
x11: Don't multiply X values by the scale factor
This is fallout from a too eager change in
bdb442be21
.
This commit is contained in:
parent
6633d4130a
commit
7e09aa3caa
@ -581,8 +581,8 @@ gdk_surface_cache_new (GdkDisplay *display)
|
||||
{
|
||||
cow = XCompositeGetOverlayWindow (xdisplay, xroot_window);
|
||||
gdk_surface_cache_add (result, cow, 0, 0,
|
||||
WidthOfScreen (GDK_X11_SCREEN (screen)->xscreen) * GDK_X11_SCREEN (screen)->surface_scale,
|
||||
HeightOfScreen (GDK_X11_SCREEN (screen)->xscreen) * GDK_X11_SCREEN (screen)->surface_scale,
|
||||
WidthOfScreen (GDK_X11_SCREEN (screen)->xscreen),
|
||||
HeightOfScreen (GDK_X11_SCREEN (screen)->xscreen),
|
||||
TRUE);
|
||||
XCompositeReleaseOverlayWindow (xdisplay, xroot_window);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user