X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_tiling%2Fpanehandle.c;h=482307cabc56504e1201f9c5d40d135857bc58b8;hb=HEAD;hp=586385d779bb204070cff1d53cdb3d0544e76c50;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/mod_tiling/panehandle.c b/mod_tiling/panehandle.c index 586385d..482307c 100644 --- a/mod_tiling/panehandle.c +++ b/mod_tiling/panehandle.c @@ -1,12 +1,9 @@ /* - * ion/panews/panehandle.c + * ion/mod_tiling/panehandle.c * - * Copyright (c) Tuomo Valkonen 1999-2006. + * Copyright (c) Tuomo Valkonen 1999-2009. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #include @@ -52,8 +49,6 @@ bool panehandle_init(WPaneHandle *pwin, WWindow *parent, const WFitParams *fp) if(!window_init(&(pwin->wwin), parent, fp)) return FALSE; - ((WRegion*)pwin)->flags|=REGION_SKIP_FOCUS; - panehandle_getbrush(pwin); if(pwin->brush==NULL){ @@ -113,7 +108,7 @@ static void panehandle_draw(WPaneHandle *pwin, bool complete) grbrush_begin(pwin->brush, &g, (complete ? 0 : GRBRUSH_NO_CLEAR_OK)); - grbrush_draw_borderline(pwin->brush, &g, NULL, pwin->bline); + grbrush_draw_borderline(pwin->brush, &g, pwin->bline); grbrush_end(pwin->brush); }