mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00: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
|
* or the new one *but not both*, then update the
|
||||||
* _net_showing_desktop hint
|
* _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);
|
meta_screen_update_showing_desktop_hint (workspace->screen);
|
||||||
|
|
||||||
if (old == NULL)
|
if (old == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user