mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 02:41:54 +00:00
...
This commit is contained in:
parent
d9663aa135
commit
9e55951d5a
1 changed files with 1 additions and 0 deletions
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
|
|
@ -834,6 +834,7 @@ attach_temp_buffer_during_window_creation(_GLFWwindow *window) {
|
|||
static void
|
||||
loop_till_window_fully_created(_GLFWwindow *window) {
|
||||
if (!window->wl.window_fully_created) {
|
||||
debug("Waiting for compositor to send fractional scale for window\n");
|
||||
monotonic_t start = monotonic();
|
||||
while (!window->wl.window_fully_created && monotonic() - start < ms_to_monotonic_t(300)) {
|
||||
if (wl_display_roundtrip(_glfw.wl.display) == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue