mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 18:04:09 +00:00
8c1b2d5eda
A lot of code did something similar to: MetaFrameBorders borders; if (window->frame) meta_frame_calc_borders (window->frame, &borders); else meta_frame_borders_clear (&borders); Sometimes, the else part was omitted and we were unknowingly using uninitalized values for OR windows. Clean this up by just testing for a NULL frame in meta_frame_calc_borders and clearing for the caller if so. https://bugzilla.gnome.org/show_bug.cgi?id=643606
Intro ===== Fix me. Env Vars ======== MUTTER_DISABLE_MIPMAPS - set to disable use of mipmaped windows.