xwayland/window-manager: Avoid doing work for unknown window
authorRob Bradford <rob@linux.intel.com>
Thu, 10 Jan 2013 19:48:57 +0000 (19:48 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 10 Jan 2013 21:08:08 +0000 (16:08 -0500)
commitaa521bd1bc4068f5bb3b3296346c051c4bc19dd3
tree0e4c12fce02e5ed442da2acdd98e3a27bd0f7270
parent23d330ec9d08864720766513c0414239e05f8d98
xwayland/window-manager: Avoid doing work for unknown window

In particular if the hash table lookup fails and returns NULL then that value
would be passed into weston_wm_window_schedule_repaint which does not accept a
NULL value.
src/xwayland/window-manager.c