[mutter] workspace: Replace a boolean ^ with !=
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] workspace: Replace a boolean ^ with !=
- Date: Sat, 16 Aug 2014 18:59:50 +0000 (UTC)
commit 7b8ee4ee1e571a83ab3511ae3b50ae3602574d0d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Aug 15 22:48:50 2014 -0400
workspace: Replace a boolean ^ with !=
This is a lot easier to understand.
src/core/workspace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/workspace.c b/src/core/workspace.c
index 7e60c49..bc718da 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]