FedoraQt / QGnomePlatform

QPlatformTheme for a better Qt application inclusion in GNOME
GNU Lesser General Public License v2.1
262 stars 38 forks source link

Fix regression in rendering titlebar on vanilla Qt #126

Closed polter-rnd closed 1 year ago

polter-rnd commented 1 year ago

Don't use window()->windowStates() for checking active window state on vanilla Qt5, this works only with waylandWindow() on Qt6 or with KDE's patchset for Qt5 (since commit e532733 where waylandWindow()->windowStates() was introduced).

Fixes #125