13831384138513861387138813891390139113921393
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) {
13791380138113821383138413851386138713881389
} finally { if (info != null) { x11.XFree(info.getPointer()); } x11.XCloseDisplay(dpy); } return alphaVisualIDs; } private static X11.Window getContentWindow(Window w, X11.Display dpy,
14551456145714581459146014611462146314641465
X11.PropModeReplace, patom.getPointer(), 1); } } finally { x11.XCloseDisplay(dpy); } } }; whenDisplayable(w, action); }
15841585158615871588158915901591159215931594
} finally { if (pm != null) { x11.XFreePixmap(dpy, pm); } x11.XCloseDisplay(dpy); } setForceHeavyweightPopups(getWindow(w), pm != null); } }; whenDisplayable(w, action);
16661667166816691670167116721673167416751676
} } finally { if (pm != null) { x11.XFreePixmap(dpy, pm); } x11.XCloseDisplay(dpy); } setForceHeavyweightPopups(getWindow(w), rectangles != null); } }; whenDisplayable(w, action);
15151516151715181519152015211522152315241525
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); } } @Override public void setWindowTransparent(final Window w,
262263264265266267268269270271272
} } }); } } x11.XCloseDisplay(display); } catch (Exception e) { e.printStackTrace(); } } }.start();
115116117118119120121122123124125
return result != 0; } finally { if(display != null) { // Close the display x.XCloseDisplay(display); } } } /**
12561257125812591260126112621263126412651266
13291330133113321333133413351336133713381339