summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 1a8ed5b..e57c69a 100644
--- a/structs.go
+++ b/structs.go
@@ -119,6 +119,7 @@ func (r *rectType) Height() int {
// settings that are window specific
type window struct {
windowFrame *guiWidget // this is the frame for a window widget
+ wasDragged bool // indicates the window was dragged. This keeps it from being rearranged
dragW int // when dragging a window, this is the offset to the mouse position
dragH int // when dragging a window, this is the offset to the mouse position
hasTabs bool // does the window have tabs?