Commit Graph

6 Commits

Author SHA1 Message Date
4c8ffbab6a Disable/reenable DPMS when inhibiting 2022-08-15 22:54:54 -07:00
c3166f0b9c Don't forward enter or escape to unlock window on first event
If the user presses enter or escape in order to get the unlock dialog to
show in the first place, forwarding that event to the dialog will only
cause it to close immediately.

Also took the opportunity to clean up the dependencies where I have my
own patches.  I'm now using the cargo 'patch' section so that the
dependencies specified in the individual Cargo.toml files are clean.
2022-05-17 19:56:34 -07:00
8394d45d1a Have remote commands return a success/failure message 2022-05-14 17:48:34 -07:00
f6c1020535 Remove the need for rust nightly
My pidfd implmentation is simple enough, and Option.contains() is not
worth requiring nightly.
2022-05-14 00:17:50 -07:00
23fef4d9e3 Support stable rust
This removes use of Option.contains(), and provides a fallback pidfd
implementation for stable.
2022-05-14 00:17:50 -07:00
2e86445c3d Initial import. Most things seem working.
This includes an abortive attempt to do a gtk4 dialog (which I don't
think is possible, as gtk4 doesn't allow embedding toplevels anymore),
and an iced dialog, which I just never started writing.
2022-05-03 17:05:06 -07:00