You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to edit some stuff I found myself not knowing what 2 or 3 meant. I think it's best to use enum instead; The names can probably be improved, but this is certainly better than what we currently have, magic numbers.
I'd supply the fix myself, but I see that the patch has evolved a bit more compared to what I have on my build. Unfortunately the changes don't look interesting enough for me to bother porting them. Here's a diff on my build if you're interested: https://dpaste.com/82NLG5QT6
The text was updated successfully, but these errors were encountered:
Style wise if you do it like this then arguably you should do it for c->isfullscreen as well?
Correct me if I'm wrong, but I don't think I saw anything but 0 and 1 being assigned to isfullscreen. 0 and 1 are pretty synonymous to false and true so I don't think it makes much sense to change them. At best I think one can use a bool and true/false for them instead. But that's upto the suckless guys, not really in scope for the fakefullscreen patch.
While trying to edit some stuff I found myself not knowing what 2 or 3 meant. I think it's best to use enum instead; The names can probably be improved, but this is certainly better than what we currently have, magic numbers.
I'd supply the fix myself, but I see that the patch has evolved a bit more compared to what I have on my build. Unfortunately the changes don't look interesting enough for me to bother porting them. Here's a diff on my build if you're interested: https://dpaste.com/82NLG5QT6
The text was updated successfully, but these errors were encountered: