gtk2/gdk/wayland
Olivier Fourdan 1f58e0ed6b wayland: Add support for xdg-output
Previously, the GDK backend for Wayland would deduce the logical size
of the monitors from the wl_output size and scale.

With the addition of fractional scaling which advertises a larger scale
value and then scale down the client surface, the computed logical size
of the monitors in GDK would be wrong and confuse applications which
insist on using the monitor size and position (like Firefox).

The xdg-output protocol aims at describing outputs in a way which is more
in line with the concept of an output on desktop oriented systems by
presenting the outputs using their logical size and position appropriately
transformed.

Add support for the optional xdg-output protocol so that the size and
position of the monitors as reported by GDK is correct even when using
fractional scaling.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1828
2019-04-16 16:14:43 +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 gdk: Drop some unused cursor apis 2018-01-16 23:32:01 -05:00
gdkdevice-wayland.c Rename gdk_surface_get_device_position_double 2019-03-26 18:12:54 -04:00
gdkdisplay-wayland.c wayland: Add support for xdg-output 2019-04-16 16:14:43 +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 Drop the Big GDK Lock 2018-02-03 12:07:10 +01: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: Drop an unused api 2018-07-15 16:42:07 -04: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 Drop gdk_wayland_surface_set_use_custom_surface 2019-04-03 23:23:24 +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 wayland: Add support for xdg-output 2019-04-16 16:14:43 +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