sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 1756a4f2da9dfe09a094ead84980a5b80871bf4b
parent 4ef60e7c094e3d27a068d0ae94d40dbefd38cfac
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed,  2 Sep 2015 11:47:15 -0400

fclose /proc/modules when we're done with it

Diffstat:
Msway/main.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sway/main.c b/sway/main.c @@ -42,10 +42,11 @@ void detect_nvidia() { if (strstr(line, "nvidia")) { fprintf(stderr, "\x1B[1;31mWarning: Proprietary nvidia drivers do NOT support Wayland. Use nouveau.\x1B[0m\n"); free(line); - return; + break; } free(line); } + fclose(f); } int main(int argc, char **argv) {