Fixed autocopy of clipboard extension

This commit is contained in:
Bert Münnich 2012-10-28 13:45:32 +01:00
parent 1ac74245e2
commit 9c57d2597b

View File

@ -34,7 +34,7 @@ sub on_start {
$self->{copy_cmd} = $self->x_resource('clipboard.copycmd') || 'xsel -ib'; $self->{copy_cmd} = $self->x_resource('clipboard.copycmd') || 'xsel -ib';
$self->{paste_cmd} = $self->x_resource('clipboard.pastecmd') || 'xsel -ob'; $self->{paste_cmd} = $self->x_resource('clipboard.pastecmd') || 'xsel -ob';
if ($self->x_resource('clipboard.autocopy' eq 'true')) { if ($self->x_resource('clipboard.autocopy') eq 'true') {
$self->enable(sel_grab => \&sel_grab); $self->enable(sel_grab => \&sel_grab);
} }