summaryrefslogtreecommitdiff
path: root/src/backends/meta-monitor-transform.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix builds with G_DISABLE_ASSERTFlorian Müllner2019-01-251-0/+1
| | | | | | | | | Commit 25f416c13db added additional compilation warnings, including -Werror=return-type. There are several places where this results in build failures if `g_assert_not_reached()` is disabled at compile time and the compiler misses a return value. https://gitlab.gnome.org/GNOME/mutter/issues/447
* monitor-transform: Add helper function transform_invert()Robert Mader2019-01-051-0/+40
It returns the inverted transform, which is always the same as the input, besides for TRANSFORM_90 and TRANSFORM_270. https://gitlab.gnome.org/GNOME/mutter/merge_requests/366