summaryrefslogtreecommitdiff
path: root/xmake/core/ui/dialog.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/ui/dialog.lua')
-rw-r--r--xmake/core/ui/dialog.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/ui/dialog.lua b/xmake/core/ui/dialog.lua
index b92995f06..d3114a941 100644
--- a/xmake/core/ui/dialog.lua
+++ b/xmake/core/ui/dialog.lua
@@ -63,6 +63,9 @@ function dialog:init(name, bounds, title)
self:buttons():bounds_set(rect:new(0, v:height() - 1, v:width(), 1))
self:_update_buttons_layout()
end)
+
+ -- mark as block mouse
+ self:option_set("blockmouse", true)
end
-- get buttons