예제 #1
0
파일: DBE.java 프로젝트: st33v3/J11
    /** @see <a href="XdbeGetBackBufferAttributes.html">XdbeGetBackBufferAttributes</a> */
    public Window attributes() {

      int atts;
      RequestOutputStream o = display.out;
      synchronized (o) {
        o.begin_request(major_opcode, 7, 2);
        o.write_int32(id);
        ResponseInputStream i = display.in;
        synchronized (i) {
          i.read_reply(o);
          i.skip(8);
          atts = i.read_int32();
          i.skip(20);
        }
      }
      return (Window) Window.intern(this.display, atts);
    }