diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Xconfig/main.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Xconfig/main.pm b/lib/Xconfig/main.pm index 694c4f4..1ba965d 100644 --- a/lib/Xconfig/main.pm +++ b/lib/Xconfig/main.pm @@ -215,7 +215,10 @@ sub write { } elsif (my $resolution = $only_resolution && eval { $raw_X->get_resolution }) { 'need_xrandr' . sprintf(' --size %dx%d', @$resolution{'X', 'Y'}); } else { - 'need_restart'; + # Always ask for reboot as the driver could've changed. + # TODO: Do 'need_restart' instead when no reboot needed, like no driver + # change. + 'need_reboot'; } } |