We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a0d44e commit cf506c6Copy full SHA for cf506c6
test/integration/xinerama/02_removed_display.lua
@@ -1,7 +1,7 @@
1
mod_xinerama.refresh();
2
3
-if notioncore.find_screen_id(1) then
4
- return "New number of screens should be 1, found ", notioncore.find_screen_id(1):name()
+if notioncore.find_screen_id(1) ~= nil then
+ return "New number of screens should be 1, found " .. notioncore.find_screen_id(1):name()
5
end
6
7
os.execute("cp xinerama/fakexinerama-2monitors xinerama/.fakexinerama");
0 commit comments