gtk2/gdk/wayland
Guido Günther 8c0b11998d gdk/wayland: Take transform into account when setting physical size
Width and height of a GdkMonitor are derived via wl_output which
talks about physical dimensions of a device and compositors usually
implement this as the untransformed values (e.g. weston, wlroots).

Since the GTK client has no way to figure out if a monitor was rotated,
transform the physical dimensions according to the applied wayland
transform to have the physical dimensions match the logical ones.

Mutter flips the physical dimensions itself but doesn't announce the
transform so this shouldn't break anything there.
2021-05-05 18:09:07 +02:00
..
protocol wayland: Signal gtk-shell surface destruction to the server 2020-06-11 11:38:21 +02:00
gdkapplaunchcontext-wayland.c gdk/wayland: Set a startup notification 2019-01-23 19:13:37 +01:00
gdkcursor-wayland.c wayland: Avoid using uninitialized memory 2019-04-18 10:40:09 -04:00
gdkdevice-wayland.c wayland: Pass layout information in key events 2021-03-15 14:48:05 -04:00
gdkdisplay-wayland.c gdk/wayland: Defer processing of globals closures 2021-03-30 15:10:04 +02:00
gdkdisplay-wayland.h gdk/wayland: Add support for primary-selection-unstable-v1 2020-09-27 13:40:40 +02:00
gdkdnd-wayland.c wayland: Fix dnd hotspot movement 2020-08-27 04:02:24 +05:00
gdkeventsource.c wayland: Don't warn if the display is lost, skip exit handlers 2017-05-30 09:16:45 +02:00
gdkglcontext-wayland.c wayland: Explicitly require RGBA8888 2019-06-17 13:04:35 -04:00
gdkglcontext-wayland.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkkeys-wayland.c wayland: Remove unused fribidi include 2020-06-04 21:08:20 +02:00
gdkmonitor-wayland.c Relay the xdg_output.name to GdkMonitor 2019-06-20 22:51:47 +01:00
gdkmonitor-wayland.h gdk/wayland: remove unused variable 2019-08-03 22:30:59 +03:00
gdkprivate-wayland.h gdk/wayland: Add support for primary-selection-unstable-v1 2020-09-27 13:40:40 +02:00
gdkscreen-wayland.c gdk/wayland: Take transform into account when setting physical size 2021-05-05 18:09:07 +02:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c gdk/wayland: Add support for primary-selection-unstable-v1 2020-09-27 13:40:40 +02:00
gdkwayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylanddevice.h wayland: Offer wayland-specific method to set pad actions feedback 2016-08-23 21:01:45 +02:00
gdkwaylanddisplay.h gdk/wayland: Add GdkDisplay call to query available globals 2018-02-14 14:58:06 +01:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h wayland/window: Add API to add extra surfaces for frame callbacks 2021-02-12 13:18:29 +01:00
gdkwindow-wayland.c wayland/window: Add API to add extra surfaces for frame callbacks 2021-02-12 13:18:29 +01:00
Makefile.am gdk/wayland: Add support for primary-selection-unstable-v1 2020-09-27 13:40:40 +02:00
meson.build gdk/wayland: Add support for primary-selection-unstable-v1 2020-09-27 13:40:40 +02:00
wm-button-layout-translation.c gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:06:15 +02:00
wm-button-layout-translation.h gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:06:15 +02:00