hyprlock/src
Tristan Bull 9b5bf2d1e5 core: disable EGL vsync throttling on new surfaces
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>
2026-05-05 11:24:07 -07:00
..
auth core: more obvious api around isUnlocked related logic (#1004) 2026-04-29 17:59:00 +00:00
config config: prevent crash on invalid numeric values (#1002) 2026-04-29 17:48:58 +00:00
core core: disable EGL vsync throttling on new surfaces 2026-05-05 11:24:07 -07:00
helpers core: use Hyprutils::CLI (#977) 2026-03-31 14:56:08 +00:00
renderer core: more obvious api around isUnlocked related logic (#1004) 2026-04-29 17:59:00 +00:00
defines.hpp core: migrate to Hyprutils::CAsyncResourceGatherer and improve resource handling (#879) 2025-10-08 08:45:09 +00:00
main.cpp core: use Hyprutils::CLI (#977) 2026-03-31 14:56:08 +00:00