X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fscreen-notify.c;h=ecb280702aac96b863b5b40c69dca38c0eca73ff;hb=3102bb90c325d9b29ac304d8f3ea0a17df564fc8;hp=add918de8dda362a2053d546333cacf9e829790a;hpb=d2a43a53786878c1273313249d3b49f6cd559b00;p=ion3.git diff --git a/ioncore/screen-notify.c b/ioncore/screen-notify.c index add918d..ecb2807 100644 --- a/ioncore/screen-notify.c +++ b/ioncore/screen-notify.c @@ -1,7 +1,7 @@ /* * ion/ioncore/screen-notify.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * * See the included file LICENSE for details. */ @@ -41,7 +41,8 @@ static WInfoWin *do_get_notifywin(WScreen *scr, Watch *watch, uint pos, param.flags=(MPLEX_ATTACH_UNNUMBERED| MPLEX_ATTACH_SIZEPOLICY| MPLEX_ATTACH_GEOM| - MPLEX_ATTACH_LEVEL); + MPLEX_ATTACH_LEVEL| + MPLEX_ATTACH_PASSIVE); param.level=STACKING_LEVEL_ON_TOP; param.geom.x=0; @@ -376,8 +377,11 @@ void ioncore_screen_activity_notify(WRegion *reg, WRegionNotify how) if(how==ioncore_g.notifies.activity){ screen_update_notifywin(region_screen_of(reg)); }else if(how==ioncore_g.notifies.name){ + WScreen *scr=region_screen_of(reg); if(region_is_activity(reg)) - screen_update_notifywin(region_screen_of(reg)); + screen_update_notifywin(scr); + if((WRegion*)scr==REGION_MANAGER(reg)) + screen_do_update_infowin(scr); } }