Skip to content

Commit

Permalink
#4040 hiding rather than destroying the window prevents crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 11, 2023
1 parent a994bec commit 2e4248d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/platform/darwin/gl_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def check_support(self, force_enable:bool=False) -> Dict[str,Any]:
tmp = GDKWindow(window_type=Gdk.WindowType.TEMP, title="tmp-opengl-check")
with self.get_paint_context(tmp):
i.update(check_PyOpenGL_support(force_enable))
tmp.destroy()
tmp.hide()
return i

def _get_pfa(self, attr, screen):
Expand Down

0 comments on commit 2e4248d

Please sign in to comment.