Skip to content

Commit

Permalink
Changed geom reply from checked to unchecked.
Browse files Browse the repository at this point in the history
  • Loading branch information
HarveyHunt committed Sep 22, 2014
1 parent 774270c commit a7d9b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion howm.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ void map_event(xcb_generic_event_t *ev)
c->is_transient = transient ? true : false;
c->is_floating = c->is_transient || floating;

geom = xcb_get_geometry_reply(dpy, xcb_get_geometry(dpy, me->window), NULL);
geom = xcb_get_geometry_reply(dpy, xcb_get_geometry_unchecked(dpy, me->window), NULL);
if (geom) {
log_info("Mapped client's initial geom is %ux%u+%d+%d\n", geom->width, geom->height, geom->x, geom->y);
if (c->is_floating) {
Expand Down

0 comments on commit a7d9b28

Please sign in to comment.