mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Added in glitchy disabling
This commit is contained in:
parent
e232241466
commit
98fad060e2
4 changed files with 21 additions and 0 deletions
|
|
@ -70,6 +70,10 @@ swayc_t *new_output(wlc_handle handle) {
|
|||
oc = NULL;
|
||||
}
|
||||
|
||||
if (oc && !oc->enabled) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
swayc_t *output = new_swayc(C_OUTPUT);
|
||||
if (oc && oc->width != -1 && oc->height != -1) {
|
||||
output->width = oc->width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue