Skip to content

Commit

Permalink
ensure pointer overlay and fps counter don't clamp the viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 6, 2024
1 parent a64d4b7 commit 4132b7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xpra/opengl/backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,7 @@ def do_present_fbo(self, context) -> None:

if self.pointer_overlay:
self.draw_pointer()
glViewport(*viewport)

if self.paint_spinner or FORCE_SPINNER:
self.draw_spinner()
Expand All @@ -827,6 +828,7 @@ def do_present_fbo(self, context) -> None:

if self.is_show_fps():
self.draw_fps()
glViewport(*viewport)

# Show the backbuffer on screen
glFlush()
Expand Down

0 comments on commit 4132b7b

Please sign in to comment.