mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-11 05:34:37 -04:00
output: disable output autoconfig if we got a wlr-output-management client
When a daemon such as kanshi is connected, we don't want to auto-configure the output in such a way that the daemon would need to undo. Fix this by disabling output auto-configuration while a wlr-output-management client is connected.
This commit is contained in:
parent
f9626f7951
commit
eb55aa6dc3
2 changed files with 113 additions and 37 deletions
8
output.h
8
output.h
|
|
@ -18,6 +18,14 @@ struct cg_output {
|
|||
struct wl_listener frame;
|
||||
|
||||
struct wl_list link; // cg_server::outputs
|
||||
|
||||
struct wl_list pending_autoconfigures; // cg_output_pending_autoconfigure::link
|
||||
};
|
||||
|
||||
struct cg_output_pending_autoconfigure {
|
||||
struct cg_output *output;
|
||||
struct wl_listener resource_destroy;
|
||||
struct wl_list link; // cg_output::pending_configures
|
||||
};
|
||||
|
||||
void handle_output_manager_apply(struct wl_listener *listener, void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue