Revert the X11 window shaping

It did not build, xcb_shape_id was not resolving, and it was not worth fixing.
It bought a workaround for one configuration, cost two libraries and a window
grab fifteen times a second, and still gave harder edges than the thing it was
working around.

Qt's transparent window background is the right mechanism and it already works.
On X11 it needs a compositing manager, which Xfce ships with and which was
simply switched off. The warning that names that setting stays, so the cause
shows up in the log.

Kept from the reverted commit: opaque mode paints a neutral card rather than
the coat colour.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
JulianandClaude Opus 5 committed 2026-09-11 10:21:51 +02:00
1 parent d685bf492a
commit a01843a312
9 files changed
+17 -282

No files matched your search

-11
View File
@@ -50,17 +50,6 @@ Window {
}
Screen.onDesktopAvailableWidthChanged: cat.stageWidth = Screen.desktopAvailableWidth
// Without a compositor the window is cut to the cat's own outline. The
// drawing animates, so the shape has to be refreshed; 15 Hz is enough for
// a swinging leg and cheap enough for a window this small.
Timer {
interval: 66
repeat: true
running: Platform.shapeWindows && win.visible
triggeredOnStart: true
onTriggered: Platform.updateWindowShape(win)
}
// The eyes need to know where the face sits on the desktop.
Binding {
target: win.cat
-8
View File
@@ -27,14 +27,6 @@ Window {
NumberAnimation { duration: 320; easing.type: Easing.OutQuad }
}
Timer {
interval: 66
repeat: true
running: Platform.shapeWindows && win.visible
triggeredOnStart: true
onTriggered: Platform.updateWindowShape(win)
}
Chip {
id: curl
anchors.fill: parent
-8
View File
@@ -22,14 +22,6 @@ Window {
| (Platform.bypassWindowManager ? Qt.X11BypassWindowManagerHint : 0)
visible: cat.cupVisible
Timer {
interval: 66
repeat: true
running: Platform.shapeWindows && win.visible
triggeredOnStart: true
onTriggered: Platform.updateWindowShape(win)
}
Cup {
id: mug
anchors.fill: parent