24 |
One line may not exceed 1024 bytes, including newline. |
One line may not exceed 1024 bytes, including newline. |
25 |
|
|
26 |
The protocol has no concept of hidden or unmapped windows. A window does not |
The protocol has no concept of hidden or unmapped windows. A window does not |
27 |
exist unless it is visible. Note that a minimised window is an exception to |
exist unless it is visible. Note that a minimized window is an exception to |
28 |
this rule. |
this rule. |
29 |
|
|
30 |
Data types |
Data types |
45 |
Allocate structures for a new window. |
Allocate structures for a new window. |
46 |
|
|
47 |
Syntax: |
Syntax: |
48 |
CREATE,<ID>,<FLAGS> |
CREATE,<ID>,<PARENT>,<FLAGS> |
49 |
|
|
50 |
|
Indicates that a window has appeared on the server. If PARENT is non-zero then |
51 |
|
the new window is a child of that window (it's transient for it). |
52 |
|
|
53 |
Note that very little information is included in this message. Things like |
Note that very little information is included in this message. Things like |
54 |
title and state will come in subsequent messages. This message should only |
title and state will come in subsequent messages. This message should only |
73 |
POSITION,<ID>,<X>,<Y>,<WIDTH>,<HEIGHT>,<FLAGS> |
POSITION,<ID>,<X>,<Y>,<WIDTH>,<HEIGHT>,<FLAGS> |
74 |
|
|
75 |
If the window isn't visible yet (because a |
If the window isn't visible yet (because a |
76 |
STATE hasn't been set or because it's minimised), you must store the position |
STATE hasn't been set or because it's minimized), you must store the position |
77 |
and size. A new POSITION is not guaranteed to be sent when the window changes |
and size. A new POSITION is not guaranteed to be sent when the window changes |
78 |
state. |
state. |
79 |
|
|
112 |
|
|
113 |
State can have one of three values: |
State can have one of three values: |
114 |
0 : "Normal" window. |
0 : "Normal" window. |
115 |
1 : Minimised. |
1 : Minimized. |
116 |
2 : Maximised. |
2 : Maximized. |
117 |
|
|
118 |
|
|
119 |
DEBUG |
DEBUG |