Skip to content

Commit

Permalink
Refresh frame after animations finish
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Oct 9, 2024
1 parent 1b47b76 commit 0c0006b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/x11/win/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,11 @@ func (f *frame) mouseRelease(x, y int16, b xproto.Button) {
f.cancelFunc()
return
}

go func() {
time.Sleep(time.Second / 2)
f.decorate(true)
}()
go f.mouseReleaseWaitForDoubleClick(int(relX), int(relY))
}

Expand Down

0 comments on commit 0c0006b

Please sign in to comment.