Examples of XCloseDisplay()


Examples of com.sun.jna.examples.unix.X11.XCloseDisplay()

                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) {
View Full Code Here

Examples of com.sun.jna.examples.unix.X11.XCloseDisplay()

            }
            finally {
                if (info != null) {
                    x11.XFree(info.getPointer());
                }
                x11.XCloseDisplay(dpy);
            }
            return alphaVisualIDs;
        }

        private static X11.Window getContentWindow(Window w, X11.Display dpy,
View Full Code Here

Examples of com.sun.jna.examples.unix.X11.XCloseDisplay()

                                                X11.PropModeReplace,
                                                patom.getPointer(), 1);
                        }
                    }
                    finally {
                        x11.XCloseDisplay(dpy);
                    }
                }
            };
            whenDisplayable(w, action);
        }
View Full Code Here

Examples of com.sun.jna.examples.unix.X11.XCloseDisplay()

                    }
                    finally {
                        if (pm != null) {
                            x11.XFreePixmap(dpy, pm);
                        }
                        x11.XCloseDisplay(dpy);
                    }
                    setForceHeavyweightPopups(getWindow(w), pm != null);
                }
            };
            whenDisplayable(w, action);
View Full Code Here

Examples of com.sun.jna.examples.unix.X11.XCloseDisplay()

            }
          } finally {
            if (pm != null) {
              x11.XFreePixmap(dpy, pm);
            }
            x11.XCloseDisplay(dpy);
          }
          setForceHeavyweightPopups(getWindow(w), rectangles != null);
        }
      };
      whenDisplayable(w, action);
View Full Code Here

Examples of com.sun.jna.examples.unix.X11.XCloseDisplay()

                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,
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.XCloseDisplay()

                    }
                  }
                });
              }
            }
            x11.XCloseDisplay(display);
          } catch (Exception e) {
            e.printStackTrace();
          }
        }
      }.start();
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.XCloseDisplay()

            return result != 0;
        }
        finally {
            if(display != null) {
                // Close the display
                x.XCloseDisplay(display);
            }
        }
    }

    /**
 
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.XCloseDisplay()

            }
            finally {
                if (info != null) {
                    x11.XFree(info.getPointer());
                }
                x11.XCloseDisplay(dpy);
            }
            return alphaVisualIDs;
        }

        private static X11.Window getContentWindow(Window w, X11.Display dpy,
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.XCloseDisplay()

                                                X11.PropModeReplace,
                                                patom.getPointer(), 1);
                        }
                    }
                    finally {
                        x11.XCloseDisplay(dpy);
                    }
                }
            };
            whenDisplayable(w, action);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.