1. Jan 26, 2019
  2. Jan 15, 2019
  3. Jan 12, 2019
  4. Jan 10, 2019
  5. Jan 03, 2019
  6. Dec 21, 2018
  7. Dec 11, 2018
  8. Dec 06, 2018
    • Rudolf Polzer's avatar
      Restructure how force-grabbing works. · 0584acc6
      Rudolf Polzer authored
      The only functional difference is that in XSECURELOCK_FORCE_GRAB=1 mode,
      the new code will be holding a server grab while grabbing input even if
      it detected another xsecurelock instance.
      
      However, this difference is minor, and makes the code a lot more
      readable.
      0584acc6
  9. Dec 05, 2018
  10. Dec 04, 2018
    • divVerent's avatar
      Thou shalt have no other screen lockers · 0471192b
      divVerent authored
      Multiple screen lockers can interfere in various ways:
      
      - First of all, log spam: only the first locker is usually able to lock at all. Any others will usually fail getting the required input grabs.
      
      - Some lockers, e.g. light-locker, also have specific countermeasures against failing to lock and may interfere with xsecurelock. This has in the past caused issues such as having to unlock twice, having to unlock on a black screen because the graphics output broke, or losing all input focus after unlocking (yes, including alt-tab) and thus having a broken environment until clicking another window.
      
      - Also, potential race conditions during startup of both at the same time might cause deadlocks (e.g. if one grabs mouse first and one grabs keyboard first, while retrying indefinitely).
      
      - Even if they're not retrying indefinitely (xsecurelock isn't), this can slow down suspend to the point that systemd gives up and suspends before the screen is locked.
      0471192b
    • Rudolf Polzer's avatar
      Also bump the version here. Oops. · a7d427c8
      Rudolf Polzer authored
      a7d427c8
    • Rudolf Polzer's avatar
      d9cb853e
  11. Dec 01, 2018
  12. Nov 30, 2018
  13. Nov 20, 2018
    • Rudolf Polzer's avatar
      Fix calls to XkbGetControls. · f17ddd1c
      Rudolf Polzer authored
      Although the field we need does not correspond to any field to query, we
      still must specify one or the call simply fails.
      
      Fixes #46: "xsecurelock: XkbGetControls failed." error on Ctrl-Tab.
      f17ddd1c
  14. Nov 17, 2018