integrated-title-bar: Add x11 support

This commit is contained in:
YuraIz authored and Wez Furlong committed 2023-03-31 19:45:28 -07:00
1 parent 6c40c2397e
commit fc7a8a8914
1 file changed
+3 -1
+3 -1
View File
@@ -951,7 +951,9 @@ impl XWindowInner {
let decorations = if decorations == WindowDecorations::TITLE | WindowDecorations::RESIZE {
FUNC_ALL
} else if decorations == WindowDecorations::RESIZE {
} else if decorations == WindowDecorations::RESIZE
|| decorations == WindowDecorations::FANCY
{
FUNC_RESIZE
} else if decorations == WindowDecorations::TITLE {
FUNC_MOVE | FUNC_MINIMIZE | FUNC_MAXIMIZE | FUNC_CLOSE