enter_notify
and leave_notify
EventsThe fields that can be unified in enter_notify
and leave_notify
events are:
type(
T)
unifies T with enter_notify
or leave_notify
according to the event.
serial(
S)
unifies S with the serial number of the last request
processed by the server.
send_event(
B)
unifies B, a boolean value, with one of
true
false
display(
D)
unifies D with the ProXL Display the event was read from.
window(
W)
unifies W with the ProXL Window that receives the event.
root(
R)
unifies R with the root Window that the event occurred
under.
subwindow(
S)
unifies S with the child ProXL window where the event
occurred or none
if the event occurred in the window itself.
time(
T)
unifies T with the server time, in milliseconds, when
the event occurred.
x(
X)
unifies X with the x coordinate, relative to the window
origin.
y(
Y)
unifies Y with the y coordinate, relative to the window
origin.
position(
X,
Y)
unifies X and Y with the x and y
coordinates respectively, relative to the window origin.
x_root(
X)
unifies X with the x coordinate, relative to the
root window origin.
y_root(
Y)
unifies Y with the y coordinate, relative to the
root window origin.
root_position(
X,
Y)
unifies X and Y with the x and y
coordinates, respectively, relative to the root window origin.
mode(
M)
unifies M with one of
normal
grab
ungrab
detail(
D)
unifies D with one of
ancestor
virtual
inferior
nonlinear
nonlinear_virtual
same_screen(
B)
unifies B, a boolean value, with one of
true
false
focus(
F)
unifies F, a boolean, with one of
true
false
state(
Buttons,
Modifiers)
unifies Buttons with a term of
the form:
buttons(B1, B2, B3, B4, B5)
where each argument of the term is unified with the state of the
corresponding pointer button just before the event, and has the value up
or down
.
Unifies Modifiers with a term of the form:
modifiers(Shift, Control, Lock, Mod1, Mod2, Mod3, Mod4, Mod5)
where each argument of the term is unified with the state of the
corresponding modifier key just before the event, and has the value
up
or down
.