commit | 2bbb2b8bac328bcc0c32271e80b5da857916f66b | [log] [tgz] |
---|---|---|
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | Fri Dec 14 13:37:26 2012 -0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Dec 14 11:27:44 2012 -0500 |
tree | 179b12a0814a57a8c99bcaebac9e0ce15d4434c3 | |
parent | 5c38ef4d4ad7e0b4754c5398340f4155a2688312 [diff] |
compositor: Don't let pointers get outside of an output on mode switch When an output suffers a mode switch, it is possible that a pointer was inside the old output area but falls outside of it with the new size. In that case, move the cursor to the output's bottom-right corner. Otherwise, there's a crash in clip_pointer_motion().