mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-05-23 05:08:08 +02:00
With the default swap interval of 1, eglSwapBuffers blocks until the compositor sends wl_buffer.release. When a monitor is DPMS-off, the compositor never releases the buffer, stalling the main thread indefinitely. This prevents authentication from completing and leaves the lock screen frozen. Set the swap interval to 0 on each new EGL surface so swaps are non-blocking. Frame pacing is already controlled by wl_surface.frame callbacks, so this does not cause unbounded rendering. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| config | ||
| core | ||
| helpers | ||
| renderer | ||
| defines.hpp | ||
| main.cpp | ||