14561457145814591460146114621463146414651466
} finally { if (pm != null) { x11.XFreePixmap(dpy, pm); } x11.XCloseDisplay(dpy); } setForceHeavyweightPopups(getWindow(w), pm != null); } }; whenDisplayable(w, action);
13891390139113921393139413951396139713981399
offset.y += bounds.y; x11.XPutImage(dpy, win, gc, image, 0, 0, offset.x, offset.y, w, h); x11.XFree(image.getPointer()); x11.XFreeGC(dpy, gc); x11.XCloseDisplay(dpy); } } public void setWindowTransparent(final Window w, final boolean transparent) {
204205206207208209210211212213214
//System.out.println("total: " + (end-start) + "ms"); } } finally { if (dpy != null) x11.XCloseDisplay(dpy); } if (a) WindowUtils.setWindowAlpha(alphaWindow, alpha); if (!alphaWindow.isVisible()) {
159160161162163164165166167168169
return true; } } } finally { lib.XCloseDisplay(dpy); } return false; } } }
12561257125812591260126112621263126412651266
} finally { if (info != null) { x11.XFree(info.getPointer()); } x11.XCloseDisplay(dpy); } return alphaVisualIDs; } private static X11.Window getContentWindow(Window w, X11.Display dpy,
13291330133113321333133413351336133713381339
X11.PropModeReplace, patom.getPointer(), 1); } } finally { x11.XCloseDisplay(dpy); } } }; whenDisplayable(w, action); }