aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/ewidgetdesktop.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-01-16 00:01:27 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-01-16 00:01:27 +0000
commitaed63a2990f923d83262ddc5ed146f0deabef4ca (patch)
tree2ea3fdc46e7756a0b4a118f2d6aa3345d667df85 /lib/gui/ewidgetdesktop.cpp
parentaec416d649d9b751a71d415e4bc70349af259360 (diff)
downloadenigma2-aed63a2990f923d83262ddc5ed146f0deabef4ca.tar.gz
enigma2-aed63a2990f923d83262ddc5ed146f0deabef4ca.zip
fix z ordering
Diffstat (limited to 'lib/gui/ewidgetdesktop.cpp')
-rw-r--r--lib/gui/ewidgetdesktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/ewidgetdesktop.cpp b/lib/gui/ewidgetdesktop.cpp
index d8de2aec..9e092203 100644
--- a/lib/gui/ewidgetdesktop.cpp
+++ b/lib/gui/ewidgetdesktop.cpp
@@ -18,7 +18,7 @@ void eWidgetDesktop::addRootWidget(eWidget *root)
for (;;)
{
- if ((insert_position == m_root.end()) || (invert_sense ^ (insert_position->m_z_position >= root->m_z_position)))
+ if ((insert_position == m_root.end()) || (invert_sense ^ (insert_position->m_z_position < root->m_z_position)))
{
m_root.insert(insert_position, root);
break;