diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2015-06-11 22:37:34 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2015-06-11 22:37:34 +0100 |
commit | 0dc36e29dd1e65b22745ffe4b348047e36f38d1b (patch) | |
tree | f544bb54381ab11c5d9c237476be0eeb47e9ad22 /glfw.c | |
parent | 2ca65abe1cf7825184116982fedb6aa991540d24 (diff) | |
download | c-stuff-0dc36e29dd1e65b22745ffe4b348047e36f38d1b.tar.gz c-stuff-0dc36e29dd1e65b22745ffe4b348047e36f38d1b.tar.xz c-stuff-0dc36e29dd1e65b22745ffe4b348047e36f38d1b.zip |
timer.c: Use SIGWINCH handler to get term_width when changed.
timer.c no longer spams ioctl TIOCGWINSZ 4 times a second, it now
handles SIGWINCH and sets a file scope variable to the width.
Diffstat (limited to 'glfw.c')
0 files changed, 0 insertions, 0 deletions