mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Make scale=2 work again
There was a leftover HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE ifdef that broke things, now that we don't use this define anymore.
This commit is contained in:
parent
16e863ce65
commit
c1ca7986ee
@ -1922,10 +1922,8 @@ _gdk_x11_window_set_window_scale (GdkWindow *window,
|
||||
impl = GDK_WINDOW_IMPL_X11 (window->impl);
|
||||
|
||||
impl->window_scale = scale;
|
||||
#ifdef HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE
|
||||
if (impl->cairo_surface)
|
||||
cairo_surface_set_device_scale (impl->cairo_surface, impl->window_scale, impl->window_scale);
|
||||
#endif
|
||||
_gdk_window_update_size (window);
|
||||
|
||||
toplevel = _gdk_x11_window_get_toplevel (window);
|
||||
|
Loading…
Reference in New Issue
Block a user