mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
...
This commit is contained in:
parent
0c5e8be49a
commit
073f78badb
1 changed files with 2 additions and 2 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue