summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/Xconfig/main.pm5
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e5e6e56..cd6a3a9 100644
--- a/NEWS
+++ b/NEWS
@@ -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';
}
}