Changeset View
Changeset View
Standalone View
Standalone View
layers.cpp
Show First 20 Lines • Show All 850 Lines • ▼ Show 20 Line(s) | 850 | else if (detail == XCB_STACK_MODE_ABOVE) | |||
---|---|---|---|---|---|
851 | workspace()->raiseClientRequest(this, src, timestamp); | 851 | workspace()->raiseClientRequest(this, src, timestamp); | ||
852 | 852 | | |||
853 | if (send_event) | 853 | if (send_event) | ||
854 | sendSyntheticConfigureNotify(); | 854 | sendSyntheticConfigureNotify(); | ||
855 | } | 855 | } | ||
856 | 856 | | |||
857 | void Client::doSetKeepAbove() | 857 | void Client::doSetKeepAbove() | ||
858 | { | 858 | { | ||
859 | // Update states of all other windows in this group | | |||
860 | if (tabGroup()) | | |||
861 | tabGroup()->updateStates(this, TabGroup::Layer); | | |||
862 | } | 859 | } | ||
863 | 860 | | |||
864 | void Client::doSetKeepBelow() | 861 | void Client::doSetKeepBelow() | ||
865 | { | 862 | { | ||
866 | // Update states of all other windows in this group | | |||
867 | if (tabGroup()) | | |||
868 | tabGroup()->updateStates(this, TabGroup::Layer); | | |||
869 | } | 863 | } | ||
870 | 864 | | |||
871 | bool Client::belongsToDesktop() const | 865 | bool Client::belongsToDesktop() const | ||
872 | { | 866 | { | ||
873 | foreach (const Client *c, group()->members()) { | 867 | foreach (const Client *c, group()->members()) { | ||
874 | if (c->isDesktop()) | 868 | if (c->isDesktop()) | ||
875 | return true; | 869 | return true; | ||
876 | } | 870 | } | ||
877 | return false; | 871 | return false; | ||
878 | } | 872 | } | ||
879 | 873 | | |||
880 | } // namespace | 874 | } // namespace |