Make 'Window to Desktop X' actions work only for NET::Normal and NET::Dialog
windows ... sending Kicker between desktops is fun, but I guess it's better without this feature. svn path=/trunk/kdebase/kwin/; revision=135385
This commit is contained in:
parent
8c368ed7bb
commit
bde9fb3af5
1 changed files with 3 additions and 1 deletions
|
@ -2816,7 +2816,9 @@ void Workspace::slotSwitchToDesktop( int i )
|
||||||
|
|
||||||
void Workspace::slotWindowToDesktop( int i )
|
void Workspace::slotWindowToDesktop( int i )
|
||||||
{
|
{
|
||||||
if( i >= 1 && i <= numberOfDesktops() && popup_client )
|
if( i >= 1 && i <= numberOfDesktops() && popup_client
|
||||||
|
&& ( popup_client->windowType() == NET::Normal
|
||||||
|
|| popup_client->windowType() == NET::Dialog ))
|
||||||
sendClientToDesktop( popup_client, i );
|
sendClientToDesktop( popup_client, i );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue