Bugfix: don't draw the interlace lines 1px too far
(upstream git commit 56af5a163513abf0c379c164e6d6c4960957a065)
This commit is contained in:
parent
74d766cc5b
commit
7a3718c491
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.63 2012/03/29 13:39:00 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.64 2012/04/22 15:52:35 dcoppa Exp $
|
||||
|
||||
COMMENT= window manager based on the original Blackbox code
|
||||
|
||||
DISTNAME= fluxbox-1.3.2
|
||||
|
||||
REVISION= 4
|
||||
REVISION= 5
|
||||
|
||||
CATEGORIES= x11
|
||||
|
||||
|
16
x11/fluxbox/patches/patch-src_FbTk_TextureRender_cc
Normal file
16
x11/fluxbox/patches/patch-src_FbTk_TextureRender_cc
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_FbTk_TextureRender_cc,v 1.1 2012/04/22 15:52:35 dcoppa Exp $
|
||||
|
||||
Bugfix: don't draw the interlace lines 1px too far
|
||||
(upstream git commit 56af5a163513abf0c379c164e6d6c4960957a065)
|
||||
|
||||
--- src/FbTk/TextureRender.cc.orig Sun Apr 22 17:39:27 2012
|
||||
+++ src/FbTk/TextureRender.cc Sun Apr 22 17:40:06 2012
|
||||
@@ -1427,7 +1427,7 @@ Pixmap TextureRender::renderSolid(const FbTk::Texture
|
||||
lgc.setForeground(texture.colorTo());
|
||||
register unsigned int i = 0;
|
||||
for (; i < height; i += 2)
|
||||
- pixmap.drawLine(lgc.gc(), 0, i, width, i);
|
||||
+ pixmap.drawLine(lgc.gc(), 0, i, width - 1, i);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user