From 9f8e73b3152c40cd6518f45092e6b8ade3624156 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sat, 4 Nov 2023 14:32:29 +0100 Subject: [PATCH] fixup: re-add flip_landscape() to wl_surface_enter (needed for landscape detection) --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 86ab006..578633d 100644 --- a/main.c +++ b/main.c @@ -354,6 +354,7 @@ wl_surface_enter(void *data, struct wl_surface *wl_surface, } keyboard.preferred_scale = current_output->scale; + flip_landscape(); } static void