mirror of
https://github.com/brl/mutter.git
synced 2025-03-22 03:03:53 +00:00

Setting the stage window using the set_stage_foreign() method will lead to a re-realization. We need to make sure that the Drawable currently associated to the GL context is set to None, to avoid a BadDrawable error or, if we're unlucky, a segfault in the X server.