diff options
Diffstat (limited to 'lib/mouse.pm')
-rw-r--r-- | lib/mouse.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm index d57922e..2d991a5 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -648,7 +648,7 @@ sub test_mouse { $darea->signal_connect(button_press_event => sub { $paintButton->($_[1]->button - 1) }); $darea->signal_connect(scroll_event => sub { $paintButton->($_[1]->direction eq 'up' ? 3 : 4) }); $darea->signal_connect(button_release_event => $drawarea); - $darea->signal_connect(expose_event => $drawarea); + $darea->signal_connect(draw => $drawarea); $darea->set_size_request($width, $height); } |