waffles: taskview: draggable windows

This commit is contained in:
end-4
2025-12-14 10:20:54 +01:00
parent 3358ebe639
commit e206c4334c
2 changed files with 14 additions and 1 deletions
@@ -123,6 +123,18 @@ Rectangle {
TaskViewWindow {
id: windowItem
z: 9999
drag {
target: this
onActiveChanged: {
if (drag.active) {
parent = root;
} else {
parent = clientGridArea;
x = 0;
y = 0;
}
}
}
Layout.alignment: Qt.AlignTop
maxHeight: root.maxWindowHeight
maxWidth: root.maxWindowWidth
@@ -3,4 +3,5 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source $(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate
GIO_USE_VFS=local "$SCRIPT_DIR/thumbgen.py" "$@"
deactivate
deactivate