simplify togglewarp function

This commit is contained in:
Alexander Bocken 2021-10-06 10:18:04 +02:00
parent 3cf9f6f915
commit 91dbcfffaa
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

5
dwm.c
View File

@ -1868,10 +1868,7 @@ togglesticky(const Arg *arg)
} }
void togglewarp(const Arg *arg){ void togglewarp(const Arg *arg){
if (dowarp) dowarp=!dowarp;
dowarp=0;
else
dowarp=1;
} }
void void