integrated-title-bar: Add x11 support
This commit is contained in:
1 parent
6c40c2397e
commit
fc7a8a8914
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user