Changeset View
Changeset View
Standalone View
Standalone View
layers.cpp
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | |||||
90 | #include "screens.h" | 90 | #include "screens.h" | ||
91 | #include "unmanaged.h" | 91 | #include "unmanaged.h" | ||
92 | #include "deleted.h" | 92 | #include "deleted.h" | ||
93 | #include "effects.h" | 93 | #include "effects.h" | ||
94 | #include "composite.h" | 94 | #include "composite.h" | ||
95 | #include "screenedge.h" | 95 | #include "screenedge.h" | ||
96 | #include "shell_client.h" | 96 | #include "shell_client.h" | ||
97 | #include "wayland_server.h" | 97 | #include "wayland_server.h" | ||
98 | #include "internal_client.h" | ||||
98 | 99 | | |||
99 | #include <QDebug> | 100 | #include <QDebug> | ||
100 | 101 | | |||
101 | namespace KWin | 102 | namespace KWin | ||
102 | { | 103 | { | ||
103 | 104 | | |||
104 | //******************************* | 105 | //******************************* | ||
105 | // Workspace | 106 | // Workspace | ||
▲ Show 20 Lines • Show All 650 Lines • ▼ Show 20 Line(s) | 754 | if (u->window() == windows[i]) { | |||
756 | break; | 757 | break; | ||
757 | } | 758 | } | ||
758 | } | 759 | } | ||
759 | if (foundUnmanagedCount == 0) { | 760 | if (foundUnmanagedCount == 0) { | ||
760 | break; | 761 | break; | ||
761 | } | 762 | } | ||
762 | } | 763 | } | ||
763 | } | 764 | } | ||
764 | if (waylandServer()) { | 765 | | ||
765 | const auto clients = waylandServer()->internalClients(); | 766 | for (InternalClient *client : workspace()->internalClients()) { | ||
766 | for (auto c: clients) { | 767 | if (client->isShown(false)) { | ||
767 | if (c->isShown(false)) { | 768 | x_stacking.append(client); | ||
768 | x_stacking << c; | | |||
769 | } | | |||
770 | } | 769 | } | ||
771 | } | 770 | } | ||
771 | | ||||
772 | m_xStackingDirty = false; | 772 | m_xStackingDirty = false; | ||
773 | } | 773 | } | ||
774 | 774 | | |||
775 | //******************************* | 775 | //******************************* | ||
776 | // Client | 776 | // Client | ||
777 | //******************************* | 777 | //******************************* | ||
778 | 778 | | |||
779 | void Client::restackWindow(xcb_window_t above, int detail, NET::RequestSource src, xcb_timestamp_t timestamp, bool send_event) | 779 | void Client::restackWindow(xcb_window_t above, int detail, NET::RequestSource src, xcb_timestamp_t timestamp, bool send_event) | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |