@fabiscafe This is dependent on the GUI framework, and how it handles events. You can't inherently assume things will work properly

Usually is the key take away, and only if the compositor is smart enough to do so

This is a problem

It's only a silly broken idea if it has an inconsistent implementation across different desktops. Or you plan for your app to be used in other environments without thinking that far ahead