Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLIB/DPMS:DPMS-DISABLE sometimes results in an asynchronous LENGTH-ERROR #175

Open
r13l opened this issue Sep 22, 2020 · 0 comments
Open
Labels

Comments

@r13l
Copy link

r13l commented Sep 22, 2020

It is difficult to reproduce, but this code will often (not always) result in a LENGTH-ERROR:

		(xlib/dpms:dpms-enable *display*)
		(xlib/dpms:dpms-set-timeouts *display* 900 1200 1800)
		(xlib:display-finish-output *display*)
		(sb-ext:process-wait (sb-ext:run-program "/usr/bin/slock" nil)
		(dbus:with-open-bus (bus (dbus:system-server-addresses))
		  (dbus:with-introspected-object (session bus *session-path* "org.freedesktop.login1")
		    (session "org.freedesktop.login1.Session" "SetIdleHint" nil)))
		(xlib/dpms:dpms-disable *display*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants