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