From 93e87a05c7220f1a8dd7ac2e8dc43b123f6e0f71 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 14:46:32 -0600 Subject: dragging a windows keeps it put --- structs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'structs.go') 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? -- cgit v1.2.3