JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix issue where stdin is selected when no bar_action script is running.
authorReginald Kennedy <rk@rejii.com>
Wed, 24 Oct 2012 14:32:17 +0000 (22:32 +0800)
committerReginald Kennedy <rk@rejii.com>
Wed, 24 Oct 2012 14:32:19 +0000 (22:32 +0800)
commita0da62cd505387fdd8f483d087254d535ea1aaf9
treef4b3d91668cca6bb73081ac8cc02fe4b4fad8adc
parent18f0dc2ad05ae2091e9a9a7946502c810b91b7ef
Fix issue where stdin is selected when no bar_action script is running.

Change bar_extra_update to return 1 if bar_ext was changed; otherwise 0.

Call draw_bar in main instead of bar_extra_update.

Remove redundant bar_extra_running variable.

Use STDIN_FILENO/STDOUT_FILENO macros instead of 0/1.
spectrwm.c