gtk-demo: Work without stylus
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 Apr 2023 12:28:26 +0000 (08:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Apr 2023 12:35:03 +0000 (08:35 -0400)
commit7f906bef0602d23b762dca14d02acc73f3702a98
tree6ae5c6351806648f00e40f5b87fc4e9172057889
parent5970a1421754797766bc5ba87bd55273b416c4d3
gtk-demo: Work without stylus

In the paint demo, don't assume that the event
backlog contains pressure. It won't, if we are
working with a plain old mouse.
demos/gtk-demo/paint.c