MCPcopy Create free account
hub / github.com/KDE/kwin / updateLayer

Method updateLayer

src/window.cpp:527–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527void Window::updateLayer()
528{
529 if (isDeleted()) {
530 return;
531 }
532 if (layer() == rules()->checkLayer(belongsToLayer())) {
533 return;
534 }
535 StackingUpdatesBlocker blocker(workspace());
536 m_layer = UnknownLayer; // invalidate, will be updated when doing restacking
537}
538
539Layer Window::belongsToLayer() const
540{

Callers 7

setActiveWindowMethod · 0.80
rearrangeLayerFunction · 0.80
setActiveMethod · 0.80
sendToOutputMethod · 0.80
addX11WindowMethod · 0.80
addWaylandWindowMethod · 0.80
addInternalWindowMethod · 0.80

Calls 2

rulesFunction · 0.85
workspaceFunction · 0.85

Tested by

no test coverage detected