parent
2cb4df9350
commit
d04f70aca9
1
src/E.h
1
src/E.h
|
@ -2289,7 +2289,6 @@ int EFreeGC(GC gc);
|
|||
void ESetColor(XColor * pxc, int r, int g, int b);
|
||||
void EGetColor(const XColor * pxc, int *pr, int *pg, int *pb);
|
||||
|
||||
int GetWinDepth(Window win);
|
||||
Window WindowAtXY_0(Window base, int bx, int by, int x, int y);
|
||||
Window WindowAtXY(int x, int y);
|
||||
Bool PointerAt(int *x, int *y);
|
||||
|
|
5
src/fx.c
5
src/fx.c
|
@ -90,7 +90,7 @@ FX_ripple_timeout(int val, void *data)
|
|||
|
||||
fx_ripple_above =
|
||||
ECreatePixmap(fx_ripple_win, VRoot.w, fx_ripple_waterh * 2,
|
||||
GetWinDepth(fx_ripple_win));
|
||||
VRoot.depth);
|
||||
if (gc)
|
||||
EFreeGC(gc);
|
||||
if (gc1)
|
||||
|
@ -534,8 +534,7 @@ FX_Wave_timeout(int val, void *data)
|
|||
fx_wave_win = DeskGetCurrentRoot();
|
||||
|
||||
fx_wave_above =
|
||||
ECreatePixmap(fx_wave_win, VRoot.w, FX_WAVE_WATERH * 2,
|
||||
GetWinDepth(fx_wave_win));
|
||||
ECreatePixmap(fx_wave_win, VRoot.w, FX_WAVE_WATERH * 2, VRoot.depth);
|
||||
if (gc)
|
||||
EFreeGC(gc);
|
||||
if (gc1)
|
||||
|
|
10
src/text.c
10
src/text.c
|
@ -384,7 +384,7 @@ TextstateDrawText(TextState * ts, Window win, const char *text, int x, int y,
|
|||
if (ts->style.orientation != FONT_TO_RIGHT)
|
||||
drawable =
|
||||
ECreatePixmap(VRoot.win, wid + 2, ascent + descent + 2,
|
||||
GetWinDepth(win));
|
||||
VRoot.depth);
|
||||
else
|
||||
drawable = win;
|
||||
TextDrawRotTo(win, &drawable, xx - 1, yy - 1 - ascent, wid + 2,
|
||||
|
@ -525,8 +525,8 @@ TextstateDrawText(TextState * ts, Window win, const char *text, int x, int y,
|
|||
|
||||
if (ts->style.orientation != FONT_TO_RIGHT)
|
||||
drawable =
|
||||
ECreatePixmap(VRoot.win, ret2.width + 2,
|
||||
ret2.height + 2, GetWinDepth(win));
|
||||
ECreatePixmap(VRoot.win, ret2.width + 2, ret2.height + 2,
|
||||
VRoot.depth);
|
||||
else
|
||||
drawable = win;
|
||||
TextDrawRotTo(win, &drawable, xx - 1,
|
||||
|
@ -622,7 +622,7 @@ TextstateDrawText(TextState * ts, Window win, const char *text, int x, int y,
|
|||
if (ts->style.orientation != FONT_TO_RIGHT)
|
||||
drawable =
|
||||
ECreatePixmap(VRoot.win, wid + 2, ascent + descent + 2,
|
||||
GetWinDepth(win));
|
||||
VRoot.depth);
|
||||
else
|
||||
drawable = win;
|
||||
TextDrawRotTo(win, &drawable, xx - 1, yy - ascent - 1, wid + 2,
|
||||
|
@ -718,7 +718,7 @@ TextstateDrawText(TextState * ts, Window win, const char *text, int x, int y,
|
|||
if (ts->style.orientation != FONT_TO_RIGHT)
|
||||
drawable =
|
||||
ECreatePixmap(VRoot.win, wid + 2, ascent + descent + 2,
|
||||
GetWinDepth(win));
|
||||
VRoot.depth);
|
||||
else
|
||||
drawable = win;
|
||||
TextDrawRotTo(win, &drawable, xx - 1, yy - ascent - 1, wid + 2,
|
||||
|
|
Loading…
Reference in New Issue