TRAC#1222 Resolve sticky windows not offering resistance on window_push for desktops other than that which they belong.

SVN revision: 77927
This commit is contained in:
Eric Schuele 2012-10-12 01:21:24 +00:00
parent cd0ad11fa8
commit 46870c46b5
1 changed files with 1 additions and 1 deletions

View File

@ -1114,7 +1114,7 @@ ACT_FN_GO(window_push, )
while (cur)
{
if ((bd->desk == cur->desk) && (bd != cur) && (!cur->iconic))
if (((bd->desk == cur->desk) || (cur->sticky)) && (bd != cur) && (!cur->iconic))
{
if ((hdir < 0)
&& (cur->x + cur->w < bd->x)