detect rotation directly via X or Wayland
Fixes #44 This commit changes the way that screen rotation is detected. Instead of using Mutter's DBus interface, we now listen directly for X and Wayland events indicating the screen has been rotated (RRScreenChangeNotify and wl_output::geometry events). This has the advantage of working outside of Phosh.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
build:debian:
|
||||
image: debian:bookworm-slim
|
||||
before_script:
|
||||
- apt-get update && apt-get -y install gcc meson ninja-build git clang-format-14 libgtk-4-dev libtiff-dev libzbar-dev libfeedback-dev
|
||||
- apt-get update && apt-get -y install gcc meson ninja-build git clang-format-14 libgtk-4-dev libtiff-dev libzbar-dev libfeedback-dev libwayland-dev libx11-dev libxrandr-dev
|
||||
script:
|
||||
- meson build
|
||||
- ninja -C build
|
||||
@@ -11,7 +11,7 @@ build:debian:
|
||||
build:alpine:
|
||||
image: alpine:edge
|
||||
before_script:
|
||||
- apk add --no-cache build-base meson samurai gtk4.0-dev tiff-dev zbar-dev feedbackd-dev
|
||||
- apk add --no-cache build-base meson samurai gtk4.0-dev tiff-dev zbar-dev feedbackd-dev wayland-dev libx11-dev libxrandr-dev
|
||||
script:
|
||||
- meson build
|
||||
- ninja -C build
|
||||
|
Reference in New Issue
Block a user