diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-01-16 00:01:27 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-01-16 00:01:27 +0000 |
| commit | aed63a2990f923d83262ddc5ed146f0deabef4ca (patch) | |
| tree | 2ea3fdc46e7756a0b4a118f2d6aa3345d667df85 | |
| parent | aec416d649d9b751a71d415e4bc70349af259360 (diff) | |
| download | enigma2-aed63a2990f923d83262ddc5ed146f0deabef4ca.tar.gz enigma2-aed63a2990f923d83262ddc5ed146f0deabef4ca.zip | |
fix z ordering
| -rw-r--r-- | lib/gui/ewidgetdesktop.cpp | 2 | ||||
| -rw-r--r-- | mytest.py | 2 |
2 files changed, 2 insertions, 2 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; @@ -153,7 +153,7 @@ class Session: if key == "zPosition": z = int(value) - dlg.instance = eWindow(self.desktop, -z) + dlg.instance = eWindow(self.desktop, z) applyAllAttributes(dlg.instance, self.desktop, dlg.skinAttributes) gui = GUIOutputDevice() gui.parent = dlg.instance |
