]> Pileus Git - ~andy/gtk/commit
Hack scrollwheel support into the eventloop, by treating button 4-5
authorOwen Taylor <otaylor@redhat.com>
Thu, 28 Jan 1999 00:57:18 +0000 (00:57 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 28 Jan 1999 00:57:18 +0000 (00:57 +0000)
commit9e5e63f0a147d0089e27c6b6af2bde70db77430c
tree8e65adde429ea8336c26a4b0cfe556fc193e9b40
parent7934cf9aeaac0850523edecc69a6e3427df64095
Hack scrollwheel support into the eventloop, by treating button 4-5

Wed Jan 27 18:40:50 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmain.c (gtk_main_do_event): Hack scrollwheel
support into the eventloop, by treating button 4-5
presses on scrolled windows and scrollbars specially.
Put it here to keep the ugliness small and confined.
(We need to intercept the normal propagation in any case
to have this work reliably right now, since some
subwidgets will trap the button presses)

* gtk/gtkviewport.c (gtk_viewport_realize): Select for
BUTTON_PRESS to support the above hack.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkmain.c
gtk/gtkviewport.c