]> git.mdlowis.com Git - proto/labwc.git/commit
session-lock: reconfigure for output layout changes
authorJohn Lindgren <john@jlindgren.net>
Thu, 5 Oct 2023 03:54:27 +0000 (23:54 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 5 Oct 2023 19:10:37 +0000 (20:10 +0100)
commit00ce7a2b5e29162a020a126e0b42e43601a172fe
tree1ea066f93ca355094fbfd5fe80c6c792873c83ca
parentb7bd5a52e44283a0f551ede833bff5197ed53e65
session-lock: reconfigure for output layout changes

Currently, if the output layout changes while the session is locked,
the lock surfaces may end up wrongly positioned, which looks bad and
may reveal some of the user's workspace underneath.

To prevent this, re-align the scene trees and reconfigure the lock
surfaces when the output layout changes.
include/session-lock.h
src/output.c
src/session-lock.c