this fixes pypanel.. heh. don't activate iconic windows when they raise themselves just raise them. firefox still works so i am happy.
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
openbox/stacking.c
→
openbox/stacking.c
@@ -562,7 +562,7 @@ break;
case Above: ob_debug("Restack request Above for client %s sibling %s\n", client->title, sibling ? sibling->title : "(all)"); - if (activate) + if (activate && !client->iconic) /* use user=TRUE because it is impossible to get a timestamp for this */ client_activate(client, FALSE, TRUE);@@ -573,7 +573,7 @@ case TopIf:
ob_debug("Restack request TopIf for client %s sibling %s\n", client->title, sibling ? sibling->title : "(all)"); if (stacking_occluded(client, sibling)) { - if (activate) + if (activate && !client->iconic) /* use user=TRUE because it is impossible to get a timestamp for this */ client_activate(client, FALSE, TRUE);@@ -586,7 +586,7 @@ ob_debug("Restack request Opposite for client %s sibling "
"%s\n", client->title, sibling ? sibling->title : "(all)"); if (stacking_occluded(client, sibling)) { - if (activate) + if (activate && !client->iconic) /* use user=TRUE because it is impossible to get a timestamp for this */ client_activate(client, FALSE, TRUE);