1 mod_xrandr
.screenlayoutupdated()
3 if (notioncore
.find_screen_id(1) == Nil
) then
4 return "Number of screens should be 2, again at the start of this test"
7 if (notioncore
.find_screen_id(0):mx_count() < 1) then
8 return "Screen 0 had no workspaces!"
9 elseif (notioncore
.find_screen_id(1):mx_count() < 1) then
10 return "Screen 1 had no workspaces!"
13 if notioncore
.find_screen_id(0):mx_nth(0):name() ~= 'WGroupWS' then
14 return "First workspace not correctly returned to first screen"
16 if notioncore
.find_screen_id(1):mx_nth(0):name() ~= 'WGroupWS<1>' then
17 return "Second workspace not correctly returned to second screen"