mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
4
glfw/wl_window.c
vendored
4
glfw/wl_window.c
vendored
@@ -644,7 +644,7 @@ xdgToplevelHandleConfigure(void* data,
|
||||
|
||||
wl_array_for_each(state, states) {
|
||||
switch (*state) {
|
||||
#define C(x) case XDG_##x: new_states |= x; fprintf(stderr, "%s ", #x); break
|
||||
#define C(x) case XDG_##x: new_states |= x; if (_glfw.hints.init.debugRendering) fprintf(stderr, "%s ", #x); break
|
||||
C(TOPLEVEL_STATE_RESIZING);
|
||||
C(TOPLEVEL_STATE_MAXIMIZED);
|
||||
C(TOPLEVEL_STATE_FULLSCREEN);
|
||||
@@ -659,7 +659,7 @@ xdgToplevelHandleConfigure(void* data,
|
||||
#undef C
|
||||
}
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
if (_glfw.hints.init.debugRendering) fprintf(stderr, "\n");
|
||||
if (new_states & TOPLEVEL_STATE_RESIZING) {
|
||||
if (width) window->wl.user_requested_content_size.width = width;
|
||||
if (height) window->wl.user_requested_content_size.height = height;
|
||||
|
||||
Reference in New Issue
Block a user