[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extending fringe backgrounds to scroll bar gaps
From: |
Juanma Barranquero |
Subject: |
Re: Extending fringe backgrounds to scroll bar gaps |
Date: |
Thu, 21 Jun 2007 00:42:27 +0200 |
On 6/15/07, YAMAMOTO Mitsuharu <address@hidden> wrote:
Yes. But as I can't test it with W32, could Windows users try the
following patch?
I've had to use "do {...} while (0)" in the definition of
w32_fill_area() in w32term.h in order to compile with your patch.
As for results, see the attached image. I don't think that was the
intended effect...
Juanma
Index: src/w32term.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.h,v
retrieving revision 1.68
diff -u -2 -r1.68 w32term.h
--- src/w32term.h 22 Feb 2007 22:50:15 -0000 1.68
+++ src/w32term.h 20 Jun 2007 22:33:11 -0000
@@ -577,5 +581,5 @@
#define w32_fill_area(f,hdc,pix,x,y,nx,ny) \
-{ \
+do { \
RECT rect; \
rect.left = x; \
@@ -584,5 +588,6 @@
rect.bottom = y + ny; \
w32_fill_rect (f,hdc,pix,&rect); \
-}
+} while (0)
+
#define w32_clear_rect(f,hdc,lprect) \
emacs.png
Description: PNG image
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/08
- Re: Extending fringe backgrounds to scroll bar gaps, Richard Stallman, 2007/06/10
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/14
- Re: Extending fringe backgrounds to scroll bar gaps, Richard Stallman, 2007/06/15
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/15
- Re: Extending fringe backgrounds to scroll bar gaps,
Juanma Barranquero <=
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/20
- Re: Extending fringe backgrounds to scroll bar gaps, Juanma Barranquero, 2007/06/21
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/21
- Re: Extending fringe backgrounds to scroll bar gaps, Juanma Barranquero, 2007/06/21
- Re: Extending fringe backgrounds to scroll bar gaps, Juanma Barranquero, 2007/06/21
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/21
- Re: Extending fringe backgrounds to scroll bar gaps, Juanma Barranquero, 2007/06/22
- Re: Extending fringe backgrounds to scroll bar gaps, YAMAMOTO Mitsuharu, 2007/06/22
- Re: Extending fringe backgrounds to scroll bar gaps, Juanma Barranquero, 2007/06/25