3 Commits

Author SHA1 Message Date
927918ccc5 version bump 2023-11-04 14:33:44 +01:00
9f8e73b315 fixup: re-add flip_landscape() to wl_surface_enter (needed for landscape detection) 2023-11-04 14:33:30 +01:00
0e17680041 do not refresh on wl_surface_enter
there is no need to do so, because this event is followed by layer_surface_configure.
sway-HEAD(020a572) complains "A configure is scheduled for an uninitialized xdg_surface",
but it works anyway.

fix #50
2023-11-04 14:32:04 +01:00
2 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,4 @@
VERSION = 0.14.2
VERSION = 0.14.3
CFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=700
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man

3
main.c
View File

@ -354,10 +354,7 @@ wl_surface_enter(void *data, struct wl_surface *wl_surface,
}
keyboard.preferred_scale = current_output->scale;
flip_landscape();
kbd_resize(&keyboard, layouts, NumLayouts);
drwsurf_flip(&draw_surf);
}
static void