$self->destroy;
}
+ $self->{press}[$event->{button}] = 0;
+
if ($event->{button} == 1) {
- $self->{press}[$event->{button}] = 0;
refresh $self;
warn "$event->{row} $event->{col}\n";#d#
# might fail, but try anyways
$self->grab ($self->{data}{event}{time}, 1)
- and $self->allow_events_sync;
+ and $self->allow_events_async;
on_button_press $self, $self->{data}{event} if $self->{data}{event}{button};
# should definitely not fail
$self->grab ($self->{data}{event}{time}, 1)
- and $self->allow_events_sync;
+ and $self->allow_events_async;
}
sub on_destroy {