- Feb 22, 2018
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
Set WM_NAME, WM_COMMAND, WM_CLASS on xsecurelock's windows for easier debugging and compositor configuration.
-
- Feb 21, 2018
-
-
Rudolf Polzer authored
- Annotate some intentionally unused variables with (void). - oclint found a bug in saver_multiplex that causes unnecessary screen saver restarts when receiving an XRandR event without a contentful configuration change.
-
Rudolf Polzer authored
-
- Feb 20, 2018
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
This fixes: - A potential bug in the "guessed monitor layout" code that may detect less monitors than correct (XRandR code path not affected). - Unused values assigned to variables (annotated with a (void) cast where necessary). - num_monitors variable redundantly checked for zero in cases where conditional compilation removes all code that would set it.
-
- Feb 17, 2018
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
The configure macro had a small typo that made the default always check - but luckily the Debian package isn't affected as it passes all desired --with options anyway.
-
Rudolf Polzer authored
This prevents the input field from overflowing into neighboring monitors.
-
Rudolf Polzer authored
This makes sure that the auth prompt always appears in the center of every screen, and runs a separate screen saver on each one. Further changes: - Replaced an XSync by an XFlush, somewhat speeding up auth_pam_x11. - Added a build dependency on XRandR to the Debian package. - Global clang-format and IWYU. - saver_xscreensaver now uses the parent process ID as random source instead of $RANDOM; this makes sure both monitors show the same screen saver.
-
Rudolf Polzer authored
This fixes cursor appearing on top of the screen lock in Cinnamon.
-
Rudolf Polzer authored
Revert "Explicit hide the cursor of the Composite Overlay Window." because this breaks the Cinnamon task bar. This reverts commit e59e9575.
-
Rudolf Polzer authored
We seem to need this for Cinnamon but not for other desktops.
-
Rudolf Polzer authored
Fix a minor bug (uninitialized Pixmap data) in creating the empty cursor that might cause a black 1x1 point cursor.
-
- Feb 16, 2018
-
-
Rudolf Polzer authored
-
- Feb 15, 2018
-
-
Rudolf Polzer authored
The old code did not handle processes being terminated by signals right, and basically waitpid() on them a second time, receiving ECHILD. This didn't cause any real bugs, but was nevertheless incorrect.
-
Markus Teich authored
This fixes artifacts that would come from deleting input after having entered a password longer than the other text in the prompt.
-
Rudolf Polzer authored
-
Rudolf Polzer authored
We now require explicit opt-out to compile on systems without these being installed; this prevents privacy issues from accidentally compiling with XComposite support (which will let desktop notifications appear above the screen lock).
-
Rudolf Polzer authored
Don't kill the saver_child's process group a second time when getting ECHILD and already having killed it. This should not change anything noticeable - just a bit more consistent that way.
-
Rudolf Polzer authored
-
Rudolf Polzer authored
saver_blank: Add configuration options for DPMS usage and blanking delay, and chain to it from all other savers.
-
Rudolf Polzer authored
-
- Feb 14, 2018
-
-
Rudolf Polzer authored
Internal reference: b/73333712.
-
Rudolf Polzer authored
This pre-XRandR code guesses the number of screens by the resolution, and may have guessed zero, causing an invisible (but working) auth screen.
-
- Feb 10, 2018
-
-
Rudolf Polzer authored
-
- Feb 09, 2018
-
-
Rudolf Polzer authored
Add a log message when "Zaphod" configurations (multiple screens, not connected to a single desktop) are detected, as these are currently not implemented.
-
Rudolf Polzer authored
-
- Feb 08, 2018
-
-
Rudolf Polzer authored
At least inside Xephyr, xsecurelock otherwise does not respond to display size changes when the composite overlay window is not used (it normally is).
-
Rudolf Polzer authored
Simulates multi monitor setups, but is currently quite limited in functionality (also, resizing screens does not appear to work correctly).
-
Rudolf Polzer authored
-
Rudolf Polzer authored
Internal reference: b/73107658.
-
- Feb 03, 2018
-
-
Rudolf Polzer authored
-
- Feb 02, 2018
-
-
Markus Teich authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
Allow for up to three attempts on every PAM call unless a conversation error occurred (i.e. cancelled by user or timeout). Also remove the EXIT_ON_CONVERSATION_ERROR and instead detect PAM modules calling converse() a second time after having received an error and exit then. Allows us to exit "cleanly" after conversation errors. Also despam logging by hiding any errors that have been retried or caused by a conversation error.
-
Rudolf Polzer authored
This gives the user one minute to retry logging in while not using noticeably more power. Works around some displays that take really long to wake up from "off" state.
-
Rudolf Polzer authored
This reduces the chance of burn-in due to misbehaving saver children, and also allows improving saver_blank in a separate change by sleeping before blanking (so one can quicker retry to log in).
-
Rudolf Polzer authored
Now the 1 second sleep after displaying an alert can be interrupt by a key press; however this does not affect sleep times inside PAM modules.
-