Fix incorrect call of xcb_configure_window()
This commit is contained in:
parent
df3e102832
commit
163c1240d8
7
event.c
7
event.c
|
@ -220,7 +220,10 @@ event_handle_configurerequest(void *data __attribute__ ((unused)),
|
|||
ev->x, ev->y, ev->width, ev->height, ev->border_width,
|
||||
ev->sibling, ev->stack_mode };
|
||||
|
||||
xcb_configure_window(connection, ev->window, ev->value_mask,
|
||||
xcb_configure_window(connection, ev->window,
|
||||
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH |
|
||||
XCB_CONFIG_WINDOW_HEIGHT | XCB_CONFIG_WINDOW_BORDER_WIDTH |
|
||||
XCB_CONFIG_WINDOW_SIBLING | XCB_CONFIG_WINDOW_STACK_MODE,
|
||||
configure_values);
|
||||
}
|
||||
|
||||
|
@ -414,7 +417,7 @@ int
|
|||
event_handle_maprequest(void *data __attribute__ ((unused)),
|
||||
xcb_connection_t *connection, xcb_map_request_event_t *ev)
|
||||
{
|
||||
static xcb_get_window_attributes_reply_t *wa;
|
||||
xcb_get_window_attributes_reply_t *wa;
|
||||
int screen_nbr = 0;
|
||||
xcb_query_pointer_reply_t *qpr = NULL;
|
||||
xcb_get_geometry_reply_t *wgeom;
|
||||
|
|
Loading…
Reference in New Issue