summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/widget.cc1
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();