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 | #include <cassert> | 102 | #include <cassert> | ||
102 | 103 | | |||
103 | namespace KWin | 104 | namespace KWin | ||
104 | { | 105 | { | ||
105 | 106 | | |||
▲ Show 20 Lines • Show All 652 Lines • ▼ Show 20 Line(s) | 756 | if (u->window() == windows[i]) { | |||
758 | break; | 759 | break; | ||
759 | } | 760 | } | ||
760 | } | 761 | } | ||
761 | if (foundUnmanagedCount == 0) { | 762 | if (foundUnmanagedCount == 0) { | ||
762 | break; | 763 | break; | ||
763 | } | 764 | } | ||
764 | } | 765 | } | ||
765 | } | 766 | } | ||
766 | if (waylandServer()) { | 767 | | ||
767 | const auto clients = waylandServer()->internalClients(); | 768 | for (InternalClient *client : workspace()->internalClients()) { | ||
768 | for (auto c: clients) { | 769 | if (client->isShown(false)) { | ||
769 | if (c->isShown(false)) { | 770 | x_stacking.append(client); | ||
770 | x_stacking << c; | | |||
771 | } | | |||
772 | } | 771 | } | ||
773 | } | 772 | } | ||
773 | | ||||
774 | m_xStackingDirty = false; | 774 | m_xStackingDirty = false; | ||
775 | } | 775 | } | ||
776 | 776 | | |||
777 | //******************************* | 777 | //******************************* | ||
778 | // Client | 778 | // Client | ||
779 | //******************************* | 779 | //******************************* | ||
780 | 780 | | |||
781 | void Client::restackWindow(xcb_window_t above, int detail, NET::RequestSource src, xcb_timestamp_t timestamp, bool send_event) | 781 | void Client::restackWindow(xcb_window_t above, int detail, NET::RequestSource src, xcb_timestamp_t timestamp, bool send_event) | ||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |