Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions nw_xlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,9 @@ function app:main_display()
return d
end
end

-- if none matched, return the first display available
return self:displays()[1]
end

function app:active_display()
Expand Down