Added in glitchy disabling

This commit is contained in:
Luminarys 2015-08-23 12:22:45 -05:00
parent 98fad060e2
commit e01cf0b566
3 changed files with 18 additions and 18 deletions

View file

@ -70,9 +70,9 @@ swayc_t *new_output(wlc_handle handle) {
oc = NULL;
}
if (oc && !oc->enabled) {
return NULL;
}
if (oc && !oc->enabled) {
return NULL;
}
swayc_t *output = new_swayc(C_OUTPUT);
if (oc && oc->width != -1 && oc->height != -1) {