We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b30322 commit cae4293Copy full SHA for cae4293
src/FloatingDockContainer.cpp
@@ -674,6 +674,17 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
674
native_window = window_manager != "KWIN";
675
}
676
677
+ if (native_window)
678
+ {
679
+ // Native windows do not work if wayland is used. Ubuntu 22.04 uses wayland by default. To use
680
+ // native windows, switch to Xorg
681
+ QString XdgSessionType = qgetenv("XDG_SESSION_TYPE").toLower();
682
+ if ("wayland" == XdgSessionType)
683
684
+ native_window = false;
685
+ }
686
687
+
688
if (native_window)
689
{
690
setTitleBarWidget(new QWidget());
0 commit comments