rem: W_Screen         *scr = WMWidgetScreen(panel->win); int             x, y, u, v; unsigned int    mask; Pixmap            pixmap; WMPoint            point;  XQueryPointer(scr->display, scr->rootWin, &scr->rootWin, &W_VIEW(panel->win)->window, &x, &y, &u, &v, &mask);    panel->magnifyGlass->mask = XCreatePixmapFromBitmapData(scr->display, W_DRAWABLE(scr), Cursor_mask_bits, Cursor_mask_width, Cursor_mask_height, 1, 0, 1);   panel->magnifyGlass->valid = False;  panel->magnifyGlass->pixmap = magnifyGetStorePixmap(panel, x, y, x, y); panel->magnifyGlass->valid = True;  pixmap = magnifyCreatePixmap(panel); W_MoveView(panel->magnifyGlass->view, x - Cursor_x_hot +1, y - Cursor_y_hot +1);  XSetWindowBackgroundPixmap(scr->display, panel->magnifyGlass->view->window, pixmap); XClearWindow(scr->display, panel->magnifyGlass->view->window); XFlush(scr->display);  XFreePixmap(scr->display, pixmap);  point.x = x; point.y = y;  return point;
add: W_Screen 		*scr = WMWidgetScreen(panel->win); int 			x, y, u, v; unsigned int	mask; Pixmap			pixmap; WMPoint			point;  XQueryPointer(scr->display, scr->rootWin, &scr->rootWin, &W_VIEW(panel->win)->window, &x, &y, &u, &v, &mask);    panel->magnifyGlass->mask = XCreatePixmapFromBitmapData(scr->display, W_DRAWABLE(scr), Cursor_mask_bits, Cursor_mask_width, Cursor_mask_height, 1, 0, 1);   panel->magnifyGlass->valid = False;  panel->magnifyGlass->pixmap = magnifyGetStorePixmap(panel, x, y, x, y); panel->magnifyGlass->valid = True;  pixmap = magnifyCreatePixmap(panel);  XSetWindowBackgroundPixmap(scr->display, panel->magnifyGlass->view->window, pixmap); XClearWindow(scr->display, panel->magnifyGlass->view->window); XFlush(scr->display);  XFreePixmap(scr->display, pixmap);  point.x = x; point.y = y;  return point;
context: magnifyInitialize(W_ColorPanel *panel){    W_Screen         *scr = WMWidgetScreen(panel->win);    int             x, y, u, v;    unsigned int    mask;    Pixmap            pixmap;    WMPoint            point;        XQueryPointer(scr->display, scr->rootWin, &scr->rootWin,                   &W_VIEW(panel->win)->window, &x, &y, &u, &v, &mask);            /* Clipmask to make magnified view-contents circular */    panel->magnifyGlass->mask = XCreatePixmapFromBitmapData(scr->display, 							    W_DRAWABLE(scr), Cursor_mask_bits, 							    Cursor_mask_width, Cursor_mask_height, 1, 0, 1);            /* Draw initial magnified part */    panel->magnifyGlass->valid = False;    /* also free's magnifyGlass->pixmap */    panel->magnifyGlass->pixmap = magnifyGetStorePixmap(panel, x, y, x, y);    panel->magnifyGlass->valid = True;        pixmap = magnifyCreatePixmap(panel);    W_MoveView(panel->magnifyGlass->view, x - Cursor_x_hot +1, y - Cursor_y_hot +1);        XSetWindowBackgroundPixmap(scr->display, panel->magnifyGlass->view->window, pixmap);    XClearWindow(scr->display, panel->magnifyGlass->view->window);    XFlush(scr->display);        XFreePixmap(scr->display, pixmap);        point.x = x;    point.y = y;        return point;}