(!1654) xnest: replace ExposureMask by XCB_EVENT_MASK_EXPOSURE

Use xcb's defines instead of Xlib's ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-12 13:59:01 +02:00
parent 86cccef9bc
commit dcc0169c8a

View File

@ -88,7 +88,7 @@ xnestCreateWindow(WindowPtr pWin)
}
else {
mask = XCB_CW_EVENT_MASK | XCB_CW_BACKING_STORE;
attributes.event_mask = ExposureMask;
attributes.event_mask = XCB_EVENT_MASK_EXPOSURE;
attributes.backing_store = XCB_BACKING_STORE_NOT_USEFUL;
if (pWin->parent) {