diff --git a/docs/api/system.lua b/docs/api/system.lua index 17c379fa..ffbc6f42 100644 --- a/docs/api/system.lua +++ b/docs/api/system.lua @@ -107,10 +107,12 @@ function system.set_window_bordered(bordered) end ---When then window is run borderless (without system decorations), this ---function allows to set the size of the different regions that allow ---for custom window management. +---To disable custom window management, call this function without any +---arguments --- ----@param title_height number ----@param controls_width number Width of window controls (maximize,minimize and close buttons, etc). ----@param resize_border number The amount of pixels reserved for resizing +---@param title_height? number Height of the window decoration +---@param controls_width? number Width of window controls (maximize,minimize and close buttons, etc). +---@param resize_border? number The amount of pixels reserved for resizing function system.set_window_hit_test(title_height, controls_width, resize_border) end ---