--- deliantra/Deliantra-Client/DC.pm 2006/05/29 22:02:06 1.78 +++ deliantra/Deliantra-Client/DC.pm 2006/05/30 08:12:50 1.80 @@ -253,7 +253,8 @@ $targ = $::CONN->{open_container}; } - $::CONN->send ("move $targ $self->{tag} 0"); + $::CONN->send ("move $targ $self->{tag} 0") + if $targ || !($self->{flags} & F_LOCKED); } elsif ($ev->{button} == 1) { $::CONN->send ("examine $self->{tag}"); } elsif ($ev->{button} == 2) { @@ -392,7 +393,9 @@ my ($cmd) = @_; my $w = new CFClient::UI::FancyFrame - title => "Bind Action"; + title => "Bind Action", + x => "center", + y => "center"; $w->add (my $vb = new CFClient::UI::VBox); $vb->add (new CFClient::UI::Label @@ -432,7 +435,6 @@ }); $entry->focus_in; - $w->center; $w->show; }