summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 32d117e..7f9bf65 100644
--- a/structs.go
+++ b/structs.go
@@ -69,6 +69,10 @@ type config struct {
showDebug bool // todo: move this into config struct
dropdown dropdown // the dropdown menu
allwin []*guiWidget // for tracking which window is next
+ downW int // where the mouse was pressed down
+ downH int // where the mouse was pressed down
+ currentDrag *guiWidget // what widget is currently being moved around
+
}
// settings for the stdout window