mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
Don't allow noop output to be configured
This commit is contained in:
parent
e815e48cee
commit
7f8ea60e71
3 changed files with 12 additions and 9 deletions
|
|
@ -176,6 +176,10 @@ void terminate_swaybg(pid_t pid) {
|
|||
}
|
||||
|
||||
bool apply_output_config(struct output_config *oc, struct sway_output *output) {
|
||||
if (output == root->noop_output) {
|
||||
return false;
|
||||
}
|
||||
|
||||
struct wlr_output *wlr_output = output->wlr_output;
|
||||
|
||||
if (oc && !oc->enabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue