Skip to content

Commit 4e84d70

Browse files
committed
Move focus to popup windows if root window is focused
Fixes #82
1 parent e3acdb2 commit 4e84d70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nucular.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,6 +2719,7 @@ func (ctx *context) popupOpen(title string, flags WindowFlags, rect rect.Rect, s
27192719
}
27202720
ctx.Windows = append(ctx.Windows, popup)
27212721
ctx.dockedWindowFocus = 0
2722+
ctx.rootWindowFocus = false
27222723

27232724
if scale {
27242725
rect.X = ctx.scale(rect.X)

0 commit comments

Comments
 (0)