Пример #1
0
        // opcode 23 - get selection owner

        /**
         * @see <a href="XGetSelectionOwner.html">XGetSelectionOwner</a>
         */
        public Window selection_owner(Atom selection)
        {
            Request request = new Request(this, 23, 2);

            request.write4(selection.id);

            Data reply = read_reply(request);

            return((Window)Window.intern(this, reply.read4(8)));
        }
Пример #2
0
 public Window focus()
 {
     return((Window)Window.intern(this.display, focus_id()));
 }
Пример #3
0
 public Window root()
 {
     return((Window)Window.intern(display, root_id()));
 }