mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 10:50:30 +03:00
whitelist krunner and yakuake windows
This commit is contained in:
parent
1e9785dc0b
commit
0d29114664
@ -794,7 +794,11 @@ bool WaylandInterface::isAcceptableWindow(const KWayland::Client::PlasmaWindow *
|
||||
bool hasSkipSwitcher = w->skipSwitcher();
|
||||
bool isSkipped = hasSkipTaskbar && hasSkipSwitcher;
|
||||
|
||||
if (w->appId() == QLatin1String("org.kde.plasmashell")) {
|
||||
if (isSkipped
|
||||
&& ((w->appId() == QLatin1String("yakuake")
|
||||
|| (w->appId() == QLatin1String("krunner"))) )) {
|
||||
registerWhitelistedWindow(w->internalId());
|
||||
} else if (w->appId() == QLatin1String("org.kde.plasmashell")) {
|
||||
if (isSkipped && isSidepanel(w)) {
|
||||
registerWhitelistedWindow(w->internalId());
|
||||
return true;
|
||||
|
@ -671,7 +671,11 @@ bool XWindowInterface::isAcceptableWindow(WindowId wid)
|
||||
bool hasSkipPager = info.hasState(NET::SkipPager);
|
||||
bool isSkipped = hasSkipTaskbar && hasSkipPager;
|
||||
|
||||
if (winClass == QLatin1String("plasmashell")) {
|
||||
if (isSkipped
|
||||
&& ((winClass == QLatin1String("yakuake")
|
||||
|| (winClass == QLatin1String("krunner"))) )) {
|
||||
registerWhitelistedWindow(wid);
|
||||
} else if (winClass == QLatin1String("plasmashell")) {
|
||||
if (isSkipped && isSidepanel(info.geometry())) {
|
||||
registerWhitelistedWindow(wid);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user