When in F11 mode I am not able to get $fullscreen to report anything except 0, regardless of anything related to the script editor or desktop windows.
I own more than 1 monitor, but only 1 is plugged in
I'm curious if when you do receive a '1', if you are seeing an option in the upper-left context menu of the main window to toggle fullscreen off, because I do not