]> git.decadent.org.uk Git - ion3.git/blobdiff - mod_tiling/panehandle.c
Imported Upstream version 20090110
[ion3.git] / mod_tiling / panehandle.c
index 586385d779bb204070cff1d53cdb3d0544e76c50..482307cabc56504e1201f9c5d40d135857bc58b8 100644 (file)
@@ -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 <string.h>
@@ -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);
 }