mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-04-01 02:42:39 +08:00
Local changes
This commit is contained in:
parent
462015edf1
commit
94c3562511
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ moc_*
|
||||
ui_*
|
||||
Makefile
|
||||
/out
|
||||
CMakePresets.json
|
||||
|
||||
# IDEs
|
||||
.idea
|
||||
|
@ -702,6 +702,11 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
|
||||
{
|
||||
native_window = false;
|
||||
}
|
||||
QString WaylandDisplay = qgetenv("WAYLAND_DISPLAY").toLower();
|
||||
if (WaylandDisplay != "")
|
||||
{
|
||||
native_window = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (native_window)
|
||||
@ -713,7 +718,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
|
||||
{
|
||||
d->TitleBar = new CFloatingWidgetTitleBar(this);
|
||||
setTitleBarWidget(d->TitleBar);
|
||||
setWindowFlags(Qt::Window | Qt::WindowMinMaxButtonsHint | Qt::FramelessWindowHint);
|
||||
setWindowFlags(Qt::Window | Qt::WindowMinMaxButtonsHint | Qt::BypassWindowManagerHint);
|
||||
d->TitleBar->enableCloseButton(isClosable());
|
||||
connect(d->TitleBar, SIGNAL(closeRequested()), SLOT(close()));
|
||||
connect(d->TitleBar, &CFloatingWidgetTitleBar::maximizeRequested,
|
||||
|
Loading…
Reference in New Issue
Block a user