Florian Müllner
4e14bb9df3
window: Fix corner case in set_demands_attention()
We only grant requests to set the demands-attention hint if the window is at least partially obscured; so for non-minimized windows on the active workspace, we check if any other window on the same workspace that is higher in the stack overlaps. However in the case of a sticky window, window->workspace is NULL, so we end up considering any non-sticky window on a different workspace. At this point we have already established that the window is showing on the active workspace, so use that to filter for windows that may overlap.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%