]> Pileus Git - grits/commit
Queue mouse events and process them during expose
authorAndy Spencer <andy753421@gmail.com>
Thu, 13 Dec 2012 17:10:14 +0000 (17:10 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 13 Dec 2012 17:10:14 +0000 (17:10 +0000)
commit536c4ae84ecb423286423bd62bce106dc4a0072d
tree33f63732e480792c023b4c8bd90896c413a80aa3
parent6bad3abae971c56ab313545276b3e415a8248039
Queue mouse events and process them during expose

Previously mouse events would get stacked up and prevent screen
updating. This only saves the most recent event and skips the rest.

It also forces a redraw after running picking which leads to a much
more responsive display.
src/grits-opengl.c
src/grits-opengl.h