Browse files

Code tidy

  • Loading branch information...
1 parent 3acac06 commit 2afccc5db65061b03a8d905cfefcd448fad698b9 @moetunes committed Sep 24, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 snapwm.c
View
3 snapwm.c
@@ -490,8 +490,7 @@ void change_desktop(const Arg arg) {
// Take "properties" from the new desktop
select_desktop(arg.i);
- if(has_bar == 0 && show_bar == 1) toggle_bar();
- if(has_bar == 1 && show_bar == 0) toggle_bar();
+ if(has_bar != show_bar) toggle_bar();
// Map all windows
if(head != NULL) {
if(mode != 1) {

0 comments on commit 2afccc5

Please sign in to comment.