Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.cpp
Show First 20 Lines • Show All 347 Lines • ▼ Show 20 Line(s) | |||||
348 | 348 | | |||
349 | Layer AbstractClient::belongsToLayer() const | 349 | Layer AbstractClient::belongsToLayer() const | ||
350 | { | 350 | { | ||
351 | // NOTICE while showingDesktop, desktops move to the AboveLayer | 351 | // NOTICE while showingDesktop, desktops move to the AboveLayer | ||
352 | // (interchangeable w/ eg. yakuake etc. which will at first remain visible) | 352 | // (interchangeable w/ eg. yakuake etc. which will at first remain visible) | ||
353 | // and the docks move into the NotificationLayer (which is between Above- and | 353 | // and the docks move into the NotificationLayer (which is between Above- and | ||
354 | // ActiveLayer, so that active fullscreen windows will still cover everything) | 354 | // ActiveLayer, so that active fullscreen windows will still cover everything) | ||
355 | // Since the desktop is also activated, nothing should be in the ActiveLayer, though | 355 | // Since the desktop is also activated, nothing should be in the ActiveLayer, though | ||
356 | if (isInternal()) | ||||
357 | return UnmanagedLayer; | ||||
356 | if (isDesktop()) | 358 | if (isDesktop()) | ||
357 | return workspace()->showingDesktop() ? AboveLayer : DesktopLayer; | 359 | return workspace()->showingDesktop() ? AboveLayer : DesktopLayer; | ||
358 | if (isSplash()) // no damn annoying splashscreens | 360 | if (isSplash()) // no damn annoying splashscreens | ||
359 | return NormalLayer; // getting in the way of everything else | 361 | return NormalLayer; // getting in the way of everything else | ||
360 | if (isDock()) { | 362 | if (isDock()) { | ||
361 | if (workspace()->showingDesktop()) | 363 | if (workspace()->showingDesktop()) | ||
362 | return NotificationLayer; | 364 | return NotificationLayer; | ||
363 | return layerForDock(); | 365 | return layerForDock(); | ||
▲ Show 20 Lines • Show All 1711 Lines • ▼ Show 20 Line(s) | 2076 | { | |||
2075 | return nullptr; | 2077 | return nullptr; | ||
2076 | } | 2078 | } | ||
2077 | 2079 | | |||
2078 | Group *AbstractClient::group() | 2080 | Group *AbstractClient::group() | ||
2079 | { | 2081 | { | ||
2080 | return nullptr; | 2082 | return nullptr; | ||
2081 | } | 2083 | } | ||
2082 | 2084 | | |||
2085 | bool AbstractClient::isInternal() const | ||||
2086 | { | ||||
2087 | return false; | ||||
2088 | } | ||||
2089 | | ||||
2083 | } | 2090 | } |