[Wayland-bugs] [Bug 793618] New: gdk_monitor_get_geometry should take WL_OUTPUT_TRANSFORM_* into account

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 19 21:36:00 UTC 2018


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-bugs at gtk.org
          Reporter: agx at sigxcpu.org
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180219/f31bc623/attachment.html>


More information about the wayland-bugs mailing list