This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
Don't redraw background for more than the dirty rectangle in x11 driver, we will not redraw foreground there
tags/v0.99.beta17
Pascal Terjan
pterjan
15 years ago
parent
162613b630
commit
de5be87d0e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
caca/driver/x11.c
+ 1
- 1
caca/driver/x11.c
View File
@@ -311,7 +311,7 @@ static void x11_display(caca_display_t *dp)
uint16_t bg = caca_attr_to_rgb12_bg(*attrs);
len = 1;
while(x + len <
width
while(x + len <
dx + dw
&& caca_attr_to_rgb12_bg(attrs[len]) == bg)
len++;
Write
Preview
Loading…
Cancel
Save