mirror of
https://github.com/brl/mutter.git
synced 2025-03-24 20:23:56 +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.