mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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.
This commit is contained in:
parent
b7bd5a52e4
commit
00ce7a2b5e
3 changed files with 35 additions and 4 deletions
|
|
@ -272,6 +272,7 @@ static void
|
|||
output_update_for_layout_change(struct server *server)
|
||||
{
|
||||
output_update_all_usable_areas(server, /*layout_changed*/ true);
|
||||
session_lock_update_for_layout_change();
|
||||
|
||||
/*
|
||||
* "Move" each wlr_output_cursor (in per-output coordinates) to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue