dont set dirty if not resizing
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
otk/widget.cc
→
otk/widget.cc
@@ -414,7 +414,8 @@ if (_ignore_config) {
_ignore_config--; } else { std::cout << "configure\n"; - _dirty = true; + if (!(e.width == width() && e.height == height())) + _dirty = true; _rect.setRect(e.x, e.y, e.width, e.height); update(); }