window: Fix logic for looking up widget default cursor
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 15 Aug 2013 21:15:18 +0000 (14:15 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 16 Aug 2013 17:55:59 +0000 (10:55 -0700)
commit1a5f0c34ff4a160e586c69be5e1854c040296634
tree204d7001e9c0c1d509f2f843275fc458839ce513
parent08b58c7c125a63d6902bbe2eb073dd72f3f006b5
window: Fix logic for looking up widget default cursor

We may deref a NULL pointer if there is no grab and no focus widget.
clients/window.c