mirror of
https://github.com/brl/mutter.git
synced 2025-02-25 01:04:10 +00:00

Since the introduction of set_workspace_state(), window->workspace will always be NULL when on_all_workspaces is set - passing that to a workspace function that does not validate its input will then result in a crash. Use the get_workspace() function instead, which will always return a valid workspace.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%