[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CLX design issues
> SYNOPSIS:
> Exposing the value-mask component of :configure-request is not the best Lisp
> interface.
>
> I don't understand this enough.
The :configure-request event is sent when redirecting ConfigureWindow
requests. The value-mask contains a 1 bit for each window geometry component
(x, y, width, height, border-width, stack-mode, above-sibling) that was
changed in the redirected ConfigureWindow request. The problem is that there's
no way specified for a CLX program to decode this bit mask.
The best solution was proposed by RWS: treat value-mask like event-mask, with
new functions (make-value-mask, make-value-keys) to convert between the
bitmask and set-of-keywords representations.