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)