Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix mis-paint on startup. - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit ad609ad95a9b0408aa61806d3621601794d8ed6a
parent d737187ed9f5710d7288186f136442f9ad5a75e6
Author: Rob King <[email protected]>
Date: Sun, 14 Aug 2016 23:35:39 -0500
Fix mis-paint on startup.
Diffstat:
samterm/flayer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/samterm/flayer.c b/samterm/flayer.c
@@ -64,6 +64,7 @@ flinit(Flayer *l, Rectangle r, XftFont *ft, unsigned long bg)
l->visible = All;
l->origin = l->p0 = l->p1 = 0;
frinit(&l->f, inset(flrect(l, r), FLMARGIN), ft, &screen, bg);
+ l->bg = bg;
newvisibilities(1);
bitblt2(&screen, l->entire.min, &screen, l->entire, 0, 0, l->bg);
scrdraw(l, 0L);
@@ -318,8 +319,6 @@ flreshape(Rectangle dr)
olDrect = lDrect;
lDrect = dr;
move = 0;
- /* no moving on rio; must repaint */
- bitblt2(&screen, lDrect.min, &screen, lDrect, 0, 0, l->bg);
for(i=0; i<nllist; i++){
l = llist[i];
f = &l->f;
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.