*/
  public boolean direct () {

    boolean direct;
    RequestOutputStream o = display.out;
    synchronized (o) {
      o.begin_request (glx.major_opcode, 6, 2);
      o.write_int32 (id);
      ResponseInputStream i = display.in;
      synchronized (i) {
        i.read_reply (o);
        i.skip (8);
        direct = i.read_bool ();
        i.skip (23);
      }
    }
    return direct;
  }