Improve tab-less dock window behavior in other platforms
Add checks for #3215 to hide the tab bar only if it doesn't prevent window dragging in Wayland sessions with native decorations.
This commit is contained in:
@@ -274,6 +274,15 @@ bool PlatformBase::SupportsNativeDecorations()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool PlatformBase::SupportsNativeDecorationDragging()
|
||||
{
|
||||
#if PLATFORM_LINUX
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool PlatformBase::Is64BitApp()
|
||||
|
||||
Reference in New Issue
Block a user