workspace: Replace a boolean ^ with !=
This is a lot easier to understand.
This commit is contained in:
parent
32cf4afb04
commit
7b8ee4ee1e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue