mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-05-19 09:30:24 -07:00
sowm: void unneeded variable
This commit is contained in:
parent
72a0f32dd4
commit
42e126009f
17
sowm.c
17
sowm.c
@ -466,16 +466,15 @@ void ws_sel(int i) {
|
|||||||
*/
|
*/
|
||||||
void configure_request(XEvent *e) {
|
void configure_request(XEvent *e) {
|
||||||
XConfigureRequestEvent *ev = &e->xconfigurerequest;
|
XConfigureRequestEvent *ev = &e->xconfigurerequest;
|
||||||
XWindowChanges wc;
|
|
||||||
|
|
||||||
wc.x = ev->x;
|
XConfigureWindow(d, ev->window, ev->value_mask, &(XWindowChanges) {
|
||||||
wc.y = ev->y;
|
.x = ev->x,
|
||||||
wc.width = ev->width;
|
.y = ev->y,
|
||||||
wc.height = ev->height;
|
.width = ev->width,
|
||||||
wc.sibling = ev->above;
|
.height = ev->height,
|
||||||
wc.stack_mode = ev->detail;
|
.sibling = ev->above,
|
||||||
|
.stack_mode = ev->detail
|
||||||
XConfigureWindow(d, ev->window, ev->value_mask, &wc);
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user