Mercurial > emacs
view etc/letter.xbm @ 48574:3e3b1f1265f5
Avoid accidental yanking of text while scrolling with
the mouse wheel. This adds a short period after each mouse wheel
scroll event where a click on the mouse wheel button is ignored.
(mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
(mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
(mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
(mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
Start mwheel-inhibit-click-event-timer with timeout handler
mwheel-inhibit-click-timeout.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 28 Nov 2002 23:03:30 +0000 |
parents | 9e3307668ce3 |
children |
line wrap: on
line source
#define letter_width 14 #define letter_height 10 static unsigned char letter_bits[] = { 0xff, 0x3f, 0x07, 0x38, 0x09, 0x24, 0x11, 0x22, 0xe1, 0x21, 0xd1, 0x22, 0x09, 0x24, 0x05, 0x28, 0x03, 0x30, 0xff, 0x3f};