• Jeffrey Lee's avatar
    Attempt to crop overlay by the bounds of any windows that are infront of it in the window stack · 4c725159
    Jeffrey Lee authored
    Detail:
      c/utils:
      - Extend compute_overlay_pos so that it will check for any windows infront of the overlay and crop the displayed area as appropriate. The algorithm is simple (only checks one window at a time, so a set of windows which collectively form a full edge won't cause cropping), but it's better than nothing, especially when dealing with Basic overlays, which always appear ontop of the desktop. In particular, this fixes the bug where a Basic overlay from an iconised window will still be visible, due to the window technically still being open (it's just been moved behind the pinboard)
      - Also add/improve source comments, and fix STACK_PUSH setting the wrong next-chunk pointer when allocating a new stack frame
      doc/GraphicsV:
      - Specify the correct number of the min. screen banks mode variable
    Admin:
      Tested on Raspberry Pi 3B
    
    
    Version 0.02. Tagged as 'VideoOverlay-0_02'
    4c725159