To receive
ResizeRequest
events, set the
ResizeRedirect
bit in the event-mask attribute of the window.
Any attempts to change the size by other clients are then redirected.
ResizeRequest
イベントを受け取るには、
ウインドウの
イベントマスク
属性の
ResizeRedirect
ビットを設定する。
他のクライアントによるサイズを変更しようとする何らかの試みは
その時にリダイレクトされる。
The structure for this event type contains:
このイベントのための構造体を以下に示す:
typedef struct {
int type; /* ResizeRequest */
unsigned long serial; /* # of last request processed by server */
Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Window window;
int width, height;
} XResizeRequestEvent;
The window member is set to the window whose size another
client attempted to change.
The width and height members are set to the inside size of the window,
excluding the border.
window
メンバーにはサイズを他のクライアントが変えるように試みたウインドウが設定される。
width
および
height
メンバーにはウインドウの内側のサイズが設定される。
ボーダーは含まれない。