gtk2/gdk/wayland
Olivier Fourdan 713fceb1bd wayland: Use scale from core wl_output protocol
The “xdg-output” protocol provides clients with the outputs size and
position in compositor coordinates, and does not provide the output
scale which is already provided by the core “wl_output” protocol.

So when receiving the wl_output scale event, we should update the scale
regardless of “xdg-output” support, otherwise the scale will remain to
its default value of 1 and the surface will be scaled up by the
compositor to match the actual output scale, which causes blurry fonts
and widgets.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1901
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2019-05-22 12:22:36 +02:00
..
protocol Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkapplaunchcontext-wayland.c Drop gdk_app_launch_context_set_screen 2017-10-30 23:01:34 -04:00
gdkcairocontext-wayland.c cairocontext: Remove fallback implementations 2018-04-24 23:24:55 +02:00
gdkcairocontext-wayland.h wayland: Rewrite Cairo rendering 2018-04-24 23:16:58 +02:00
gdkclipboard-wayland.c gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboard-wayland.h wayland: Implement reading the clipboard 2017-12-03 05:46:49 +01:00
gdkcursor-wayland.c wayland: Avoid using uninitialized memory 2019-04-18 14:27:00 +00:00
gdkdevice-wayland.c wayland: Reshuffle some internals 2019-04-29 16:00:09 +00:00
gdkdisplay-wayland.c wayland: Use scale from core wl_output protocol 2019-05-22 12:22:36 +02:00
gdkdisplay-wayland.h wayland: Add support for xdg-output 2019-04-16 16:14:43 +02:00
gdkdrag-wayland.c Remove GDestroyNotify casts in g_clear_pointer() uses 2018-07-25 10:05:39 +03:00
gdkdrop-wayland.c gdk: Change some async dnd api 2019-04-02 15:11:06 +00:00
gdkeventsource.c wayland: sanity check events at the source 2019-05-01 20:51:43 +00:00
gdkglcontext-wayland.c GdkGLContext: Fix damage computation with buffer_age 2018-12-02 13:25:43 +01:00
gdkglcontext-wayland.h GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkkeys-wayland.c docs: Fix GTK links and locations 2019-02-06 10:39:27 +01:00
gdkmonitor-wayland.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkmonitor-wayland.h wayland: Add support for xdg-output 2019-04-16 16:14:43 +02:00
gdkprimary-wayland.c gdk: Change some async dnd api 2019-04-02 15:11:06 +00:00
gdkprimary-wayland.h wayland: Add primary clipboard subclass 2017-12-03 05:46:49 +01:00
gdkprivate-wayland.h wayland: Reshuffle some internals 2019-04-29 16:00:09 +00:00
gdkseat-wayland.h wayland: Update cursor surface scale when output scale changes 2018-06-28 12:44:22 +02:00
gdkselection-wayland.c dnd: Rename headers 2018-07-02 15:00:50 +02:00
gdksurface-wayland.c Revert "wayland: Make popups work more than once" 2019-05-19 16:50:49 +00:00
gdkvulkancontext-wayland.c drawcontext: Only pass the region that matters 2018-04-24 23:16:58 +02:00
gdkvulkancontext-wayland.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwayland.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkwaylanddevice.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwaylanddisplay.h display: Add new virtual gdk_display_get_startup_notification_id() method. 2018-06-11 16:28:24 +01:00
gdkwaylandglcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwaylandmonitor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwaylandsurface.h Drop gdk_wayland_surface_set_use_custom_surface 2019-04-03 23:23:24 +00:00
meson.build build: Install the backend headers in the backend directories 2019-05-06 20:14:53 +02:00
wm-button-layout-translation.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
wm-button-layout-translation.h gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:05:12 +02:00