Changeset View
Changeset View
Standalone View
Standalone View
x11client.cpp
Show First 20 Lines • Show All 865 Lines • ▼ Show 20 Line(s) | 865 | if (decoratedClient()) | |||
---|---|---|---|---|---|
866 | decoratedClient()->signalShadeChange(); | 866 | decoratedClient()->signalShadeChange(); | ||
867 | QSize s(sizeForClientSize(clientSize())); | 867 | QSize s(sizeForClientSize(clientSize())); | ||
868 | shade_geometry_change = false; | 868 | shade_geometry_change = false; | ||
869 | plainResize(s); | 869 | plainResize(s); | ||
870 | setGeometryRestore(frameGeometry()); | 870 | setGeometryRestore(frameGeometry()); | ||
871 | if ((shade_mode == ShadeHover || shade_mode == ShadeActivated) && rules()->checkAcceptFocus(info->input())) | 871 | if ((shade_mode == ShadeHover || shade_mode == ShadeActivated) && rules()->checkAcceptFocus(info->input())) | ||
872 | setActive(true); | 872 | setActive(true); | ||
873 | if (shade_mode == ShadeHover) { | 873 | if (shade_mode == ShadeHover) { | ||
874 | ToplevelList order = workspace()->stackingOrder(); | 874 | QList<Toplevel *> order = workspace()->stackingOrder(); | ||
875 | // invalidate, since "this" could be the topmost toplevel and shade_below dangeling | 875 | // invalidate, since "this" could be the topmost toplevel and shade_below dangeling | ||
876 | shade_below = nullptr; | 876 | shade_below = nullptr; | ||
877 | // this is likely related to the index parameter?! | 877 | // this is likely related to the index parameter?! | ||
878 | for (int idx = order.indexOf(this) + 1; idx < order.count(); ++idx) { | 878 | for (int idx = order.indexOf(this) + 1; idx < order.count(); ++idx) { | ||
879 | shade_below = qobject_cast<X11Client *>(order.at(idx)); | 879 | shade_below = qobject_cast<X11Client *>(order.at(idx)); | ||
880 | if (shade_below) { | 880 | if (shade_below) { | ||
881 | break; | 881 | break; | ||
882 | } | 882 | } | ||
▲ Show 20 Lines • Show All 1417 Lines • Show Last 20 Lines |