diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/Xconfig/main.pm | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,6 @@ - add display_driver_helper script (used by XFdrake, udev, drakx, dkms) - add/remove nokmsboot boot option as needed +- ask for reboot instead of X server restart, as it is commonly needed Version 0.92 - 10 April 2011 - fix runned program in Keyboard.pm (#750) 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'; } } |