mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-16 22:25:56 +01:00
- enabled the use of SHAPE extension in the color panel. without it the
magnifying glass captured image was shifted and unusable - removed some comments left in the code for later reviewal
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
#include <errno.h>
|
||||
|
||||
/* BUG There's something fishy with shaped windows */
|
||||
#if 1
|
||||
/* Whithout shape extension the magnified image is completely broken -Dan */
|
||||
#if 0
|
||||
#ifdef SHAPE
|
||||
#define SHAPE_WAS_DEFINED
|
||||
#undef SHAPE
|
||||
@@ -1708,7 +1709,7 @@ magnifyCreatePixmap(WMColorPanel *panel)
|
||||
|
||||
/* Copy the magnified pixmap, with the clip mask, to background pixmap */
|
||||
XCopyArea(scr->display, panel->magnifyGlass->magPix, pixmap,
|
||||
scr->clipGC, 0, 0, Cursor_mask_width, Cursor_mask_height, 0, 0);
|
||||
scr->clipGC, 0, 0, Cursor_mask_width, Cursor_mask_height, 0, 0);
|
||||
/* (2,2) puts center pixel on center of glass */
|
||||
|
||||
return pixmap;
|
||||
|
||||
Reference in New Issue
Block a user