From 95c504d667b9cf2751662d535646fead16fe6b63 Mon Sep 17 00:00:00 2001 From: Ph42oN <59069994+Ph42oN@users.noreply.github.com> Date: Sun, 7 Jan 2024 11:42:25 +0200 Subject: [PATCH] Update src/output.c Co-authored-by: Andrew J. Hesford <48421688+ahesford@users.noreply.github.com> --- src/output.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/output.c b/src/output.c index d1924665..792d63dc 100644 --- a/src/output.c +++ b/src/output.c @@ -43,11 +43,7 @@ get_tearing_preference(struct output *output) } /* If the active view requests tearing, or it is toggled on with action, allow it */ - if (server->active_view->tearing_hint) { - return true; - } - - return false; + return server->active_view->tearing_hint; } static void