kwin/data/kwin_focus2.sh
Luboš Luňák d9bc9b0989 Create startup notification even for apps that shouldn't have any,
just don't create any visual feedback. This will make sure the apps
will also have windows shown on the virtual desktop where they were
launched (#68851), and they'll also be able to get user timestamp
from the startup notification. KGet no longer needs exception
in focus stealing prevention, KWallet either (as the openWallet() call
can get a mainwindow id).
If I'm lucky I even haven't broken anything.

svn path=/trunk/kdebase/kwin/; revision=358798
2004-10-29 16:16:30 +00:00

8 lines
253 B
Bash

#! /bin/sh
while read line; do
if echo "$line" | grep '^IgnoreFocusStealingClasses=' >/dev/null 2>/dev/null; then
echo "$line" | sed 's/,kded//' | sed 's/kded,//' | sed 's/,kget//' | sed 's/kget,//'
else
echo "$line"
fi
done