mirror of
https://github.com/swaywm/sway.git
synced 2025-11-29 06:59:46 -05:00
scene_graph: Port ext_session_v1
This commit is contained in:
parent
0639bde9fb
commit
9a57966606
12 changed files with 280 additions and 192 deletions
|
|
@ -798,6 +798,10 @@ void handle_new_output(struct wl_listener *listener, void *data) {
|
|||
output->repaint_timer = wl_event_loop_add_timer(server->wl_event_loop,
|
||||
output_repaint_timer_handler, output);
|
||||
|
||||
if (server->session_lock.lock) {
|
||||
sway_session_lock_add_output(server->session_lock.lock, output);
|
||||
}
|
||||
|
||||
struct output_config *oc = find_output_config(output);
|
||||
apply_output_config(oc, output);
|
||||
free_output_config(oc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue