dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 43315c071ef2efba2ccc6c85722adb459370099e
parent c6490aef6e56eeaf6fa4853fb7f0d23137d588d9
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sat,  8 Oct 2016 23:03:09 +0200

Use ternary operator not if statement

Diffstat:
dvtm.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -1461,10 +1461,7 @@ mouse_focus(const char *args[]) { static void mouse_fullscreen(const char *args[]) { mouse_focus(NULL); - if (isarrange(fullscreen)) - setlayout(NULL); - else - setlayout(args); + setlayout(isarrange(fullscreen) ? NULL : args); } static void