From 7b8ee4ee1e571a83ab3511ae3b50ae3602574d0d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Aug 2014 22:48:50 -0400 Subject: [PATCH] workspace: Replace a boolean ^ with != This is a lot easier to understand. --- src/core/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/workspace.c b/src/core/workspace.c index 7e60c4944..bc718da0d 100644 --- a/src/core/workspace.c +++ b/src/core/workspace.c @@ -573,7 +573,7 @@ meta_workspace_activate_with_focus (MetaWorkspace *workspace, * or the new one *but not both*, then update the * _net_showing_desktop hint */ - if (old && (old->showing_desktop ^ workspace->showing_desktop)) + if (old && (old->showing_desktop != workspace->showing_desktop)) meta_screen_update_showing_desktop_hint (workspace->screen); if (old == NULL)