Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311821 Details for
Bug 455420
[5.2] Display Resolution won't be changed on 2nd time.('system-config-display' command doesn't work properly.)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
rhpxl-0.41.1.IT113236.patch
rhpxl-0.41.1.IT113236.patch (text/plain), 1.72 KB, created by
Alan Matsuoka
on 2008-07-15 13:43:19 UTC
(
hide
)
Description:
rhpxl-0.41.1.IT113236.patch
Filename:
MIME Type:
Creator:
Alan Matsuoka
Created:
2008-07-15 13:43:19 UTC
Size:
1.72 KB
patch
obsolete
>--- rhpxl-0.41.1/rhpxl/xhwstate.py.original 2008-07-15 14:41:01.000000000 +0900 >+++ rhpxl-0.41.1/rhpxl/xhwstate.py 2008-07-15 14:41:07.000000000 +0900 >@@ -86,6 +86,17 @@ > str = str + repr(r[0]) + "-" + repr(r[1]) > return str > >+def string_to_ranges(str): >+ l = [] >+ pieces = string.split(str, ",") >+ for piece in pieces: >+ tmp = string.split(piece, "-") >+ if len(tmp) == 1: >+ l.append( (string.atof(tmp[0]), string.atof(tmp[0])) ) >+ else: >+ l.append( (string.atof(tmp[0]), string.atof(tmp[1])) ) >+ return l >+ > # Return a tuple of (xres, yres, bits_per_pixel) describing the framebuffer. > def fbinfo(): > from fcntl import ioctl >@@ -367,7 +378,26 @@ > device.options.remove(0) > > for option in self.videocard_options: >- device.options.insert(xf86config.XF86Option(option[0], option[1])) >+ device.options.insert(xf86config.XF86Option(option[0], option[1])) >+ >+ try: >+ if screen.monitor: >+ monitor = xf86config.lookupMonitor(xconfig, screen.monitor) >+ monitor.modelname = self.monitor_name >+ >+ hsync = string_to_ranges(self.hsync) >+ monitor.n_hsync = len(hsync) >+ for i in range(len(hsync)): >+ monitor.hsync[i] = hsync[i] >+ >+ vsync = string_to_ranges(self.vsync) >+ monitor.n_vrefresh = len(vsync) >+ for i in range(len(vsync)): >+ monitor.vrefresh[i] = vsync[i] >+ else: >+ monitor = None >+ except xf86config.XF86SectionMissing: >+ monitor = None > > def add_module(self, xconfig, moduleName): > self.remove_module(xconfig, moduleName)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 455420
: 311821 |
311822
|
311823
|
311824
|
311825