diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-06-28 08:33:02 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:30:25 +0100 |
commit | c640f53d5daf4f12680e19c53094cd7c7a17b7e0 (patch) | |
tree | 8642d6e2bbe9369b2ad768066ab89b24aa55cd0e /plugingui | |
parent | 191a1921dbb9b644047e1c64b72a6285ae46ec98 (diff) |
Fix warning.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/widget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/widget.cc b/plugingui/widget.cc index 4b92e65..5c8ff46 100644 --- a/plugingui/widget.cc +++ b/plugingui/widget.cc @@ -136,6 +136,7 @@ size_t Widget::height() size_t Widget::windowX() { size_t window_x = x(); + if(parent) { window_x += parent->windowX(); |