Files
firefox/widget
Martin Stransky 3a966fa86f Bug 1489463 - [Linux/Gtk] Call OnSizeAllocate() explicitly also from OnConfigureEvent(), r=jhorak
Usually we update mBounds from OnSizeAllocate() which is called
by Gtk when mContainer changes its actual size.

However we need to set mBounds in advance at Resize() as JS
code expect immediate window size change. When Resize() is called between
SetSizeMode() calls (which maximize/unmaximize the window) we can miss
OnSizeAllocate() Gtk call as actual mContainer size may not change
from Gtk perspective and we end up with incorrect mBounds.

To compensate it call OnSizeAllocate() explicitly also
from OnConfigureEvent() after size mode change.

Differential Revision: https://phabricator.services.mozilla.com/D55941
2019-12-17 06:40:07 +00:00
..
2019-12-13 00:46:18 +00:00
2019-12-13 00:46:18 +00:00