Fix typo when checking GetGeometry reply

This commit is contained in:
Arnaud Fontaine 2008-03-23 18:13:22 +00:00 committed by Julien Danjou
parent 3b295beaed
commit bcdc000e2c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ x_get_geometry(xcb_connection_t *c, xcb_window_t w, xcb_get_geometry_reply_t *pa
win_geom = xcb_get_geometry_reply(c, xcb_get_geometry(c, w), NULL);
if(win_geom)
if(!win_geom)
return NULL;
/* Unlike XCB, Xlib set 'x' and 'y' as parent window position */