1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dticon: fixed "rubber string" drawing on high/true color displays

This commit is contained in:
alx 2013-06-24 22:29:19 +02:00 committed by Jon Trulson
parent f8567bff18
commit 0d7568e843

View file

@ -377,7 +377,8 @@ Init_Editor(
Erase_gc = XCreateGC(dpy, root, 0, 0);
Flicker_gc = XCreateGC(dpy, root, 0, 0);
scratch_gc = XCreateGC(dpy, root, 0, 0);
XSetState(dpy, Flicker_gc, black_pixel, white_pixel, GXinvert, 0x1);
XSetState(dpy, Flicker_gc, black_pixel, white_pixel, GXinvert,
(DefaultDepthOfScreen(XtScreen(wid)) > 8) ? AllPlanes : 0x01);
XSetSubwindowMode(dpy, Flicker_gc, IncludeInferiors);
XSetDashes(dpy, Grid_gc, 0, dash_list, 2);
XSetLineAttributes(dpy, Grid_gc, 0, LineDoubleDash, CapButt, JoinMiter);