Move tiling and auto quit option processing into module

This commit is contained in:
Duncan Ferguson 2014-06-27 18:18:36 +01:00
parent dbfa2733fd
commit 3987586e3f

View file

@ -288,6 +288,14 @@ sub getopts {
$self->parent->config->{auto_close} = $self->autoclose if($self->autoclose);
if ( $self->autoquit) {
$self->parent->config->{auto_quit} = ! $self->parent->config->{auto_quit} || 0;
}
if ( $self->tile) {
$self->parent->config->{window_tiling} = ! $self->parent->config->{window_tiling} || 0;
}
return $self;
}