mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
workspace: Replace a boolean ^ with !=
This is a lot easier to understand.
This commit is contained in:
parent
32cf4afb04
commit
7b8ee4ee1e
@ -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 New Issue
Block a user