Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=c7ad7705113e66d0df59542feff9c3ed29f1fad8
commit c7ad7705113e66d0df59542feff9c3ed29f1fad8 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Mon Jan 21 17:48:28 2008 +0100 fwx_doconfig(): write the resolution to the Monitor section as well - this fixes detection for some ati cards - TODO: there may be causes thwn just the resolution is not enough as PreferredMode, we need further testers if we want to support such cards diff --git a/libfwxconfig/libfwxconfig.c b/libfwxconfig/libfwxconfig.c index d030833..a789831 100644 --- a/libfwxconfig/libfwxconfig.c +++ b/libfwxconfig/libfwxconfig.c @@ -164,6 +164,7 @@ int fwx_doconfig(char *mousedev, char *res, char *depth) // We'll work around this. fprintf(nfp, "HorizSync %s\n", HORIZSYNC); fprintf(nfp, "VertRefresh %s\n", REFRESH); + fprintf(nfp, "Option \"PreferredMode\" \"%s\"\n", res); fprintf(nfp, "Option \"DPMS\"\n"); } if(reg_match(line, "driver.*kbd")) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
