Skip to content

floating window: use HINT_UTILITY on Windows but normal window everywhere else, <3 @SpiKe, ref !140 !147

Thomas Debesse requested to merge illwieckz/netradiant:floating into master

GDK_WINDOW_TYPE_HINT_UTILITY would have been a good option for any OS but KDE is known to be broken (such window is not put in focus).

We must use GDK_WINDOW_TYPE_HINT_UTILITY on Windows to be sure the window is resizeable and to avoid the infinite minimize-restore loop.

<3 @SpiKe who reported this:

2019-07-29 17:15:22 +0200
<Spike29> illwieckz: that's weird, floating windows on NetRadiant get the focus on Xfce when you open
          them, but not on KDE. Not sure if the bug relies on the radiant or window manager side :p

Merge request reports