https://bugzilla.gnome.org/show_bug.cgi?id=793618

            Bug ID: 793618
           Summary: gdk_monitor_get_geometry should take
                    WL_OUTPUT_TRANSFORM_* into account
    Classification: Platform
           Product: gtk+
           Version: 3.93.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-b...@gtk.org
          Reporter: a...@sigxcpu.org
        QA Contact: gtk-b...@gtk.org
                CC: r...@robster.org.uk, wayland-bugs@lists.freedesktop.org
     GNOME version: ---

I wonder if when a compositor applies WL_OUTPUT_TRANSFORM_90 or
WL_OUTPUT_TRANSFORM_270 the geometry returned by
gdk_monitor_get_geometry/gdk_monitor_get_work_area should be swapped as well? 

Otherwise an application that wants to figure out the usable area will get
width and height reversed since gdk-display.c:output_handle_geometry does not
take the transform into account at all. I can cook up a patch but maybe this is
on purpose?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to