diff options
author | Gary Wong <gtw@gnu.org> | 2014-05-15 13:02:47 -0600 |
---|---|---|
committer | Gary Wong <gtw@gnu.org> | 2014-05-15 13:02:47 -0600 |
commit | 3ff568730dc24471a3ca5936ddda112dd0ef0d49 (patch) | |
tree | 7616b031bfd628d842dbe423fea2e431232bafa8 | |
parent | 0f1da63cdeb2b4203d80c1ab17ee125a21d73704 (diff) |
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gwm.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2014-05-15 Gary Wong <gtw@gnu.org> + + * gwm.c (handle_crtc_info): Add missing indirection in *cc->ok. + (fake_selection_request): Add missing assignment cp.p = p. + 2014-05-14 Gary Wong <gtw@gnu.org> * gwm.c (start_managing_window): Fix size of values array. @@ -1636,6 +1636,7 @@ static void fake_selection_request( struct gwm_window *window, p->target = ev->target; p->property = ev->property; p->time = ev->time; + cp.p = p; handle_async_reply( xcb_change_property_checked( c, XCB_PROP_MODE_REPLACE, ev->requestor, @@ -1789,7 +1790,7 @@ static INIT void handle_crtc_info( unsigned int sequence, void *reply, struct crtc_callback *cc = cp.p; if( error ) { - cc->ok = FALSE; + *cc->ok = FALSE; free( error ); } |