diff --git a/src/FbTk/Container.cc b/src/FbTk/Container.cc index b944c98f..9ccae925 100644 --- a/src/FbTk/Container.cc +++ b/src/FbTk/Container.cc @@ -129,7 +129,7 @@ bool Container::moveItemTo(Item item, int x, int y) { // get the root window if (!XQueryTree(display(), window(), &root_return, &parent_return, &children_return, &nchildren_return)) - parent_return = parent_return; + return false; if (children_return != NULL) XFree(children_return);