mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Initial update from my source tree. For 0.52.0
This commit is contained in:
@@ -521,3 +521,21 @@ InitXThing(WScreen *scr)
|
||||
}
|
||||
|
||||
#endif /* SILLYNESS */
|
||||
|
||||
|
||||
#ifdef GHOST_WINDOW_MOVE
|
||||
RImage*
|
||||
InitGhostWindowMove(WScreen *scr)
|
||||
{
|
||||
RXImage *ximg;
|
||||
RImage *img;
|
||||
|
||||
ximg = RGetXImage(scr->rcontext, scr->root_win, 0, 0,
|
||||
scr->scr_width, scr->scr_height);
|
||||
img = RCreateImageFromXImage(scr->rcontext, ximg->image, NULL);
|
||||
RDestroyXImage(dpy, ximg);
|
||||
|
||||
return img;
|
||||
}
|
||||
|
||||
#endif /* GHOST_WINDOW_MOVE */
|
||||
|
||||
Reference in New Issue
Block a user