Not directly. What I think happens there is: Starting at first (and only) monitor of the second screen means that the internal monitor number will be 1. But the first screen also has one monitor, so the condition
if (nIdx > gdk_screen_get_n_monitors (pScreen))
evaluates to
if (1 > 1)
, therefore the index won't be changed.
Not directly. What I think happens there is: Starting at first (and only) monitor of the second screen means that the internal monitor number will be 1. But the first screen also has one monitor, so the condition
if (nIdx > gdk_screen_ get_n_monitors (pScreen))
evaluates to
if (1 > 1)
, therefore the index won't be changed.