Skip to content

Commit

Permalink
don't clear damage when the window is not managed
Browse files Browse the repository at this point in the history
the gstreamer encoder can end up calling 'gstreamer_continue_damage' via a timer, after we've stopped managing the window,
which triggers the 'composite window destroyed outside the UI thread' warning
  • Loading branch information
totaam committed Jun 1, 2024
1 parent 542d888 commit a5130a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xpra/x11/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ def do_unmanaged(self, wm_exiting) -> None:
#########################################

def acknowledge_changes(self) -> None:
if not self._managed:
return
c = self._composite
if not c:
raise RuntimeError("composite window destroyed outside the UI thread?")
Expand Down

0 comments on commit a5130a4

Please sign in to comment.