1
0
Fork 0

workspace: Replace a boolean ^ with !=

This is a lot easier to understand.
This commit is contained in:
Jasper St. Pierre 2014-08-15 22:48:50 -04:00
parent 32cf4afb04
commit 7b8ee4ee1e

View file

@ -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)