Closed
Bug 101844
Opened 23 years ago
Closed 23 years ago
GTK needs to generate NS_DISPLAYCHANGED event when the display depth changes
Categories
(Core Graveyard :: GFX, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: kmcclusk, Assigned: kmcclusk)
Details
This bug was split off from bug 6061. Changing bit depth/# of colors busts chrome, images On GTK we need to add a method to nsWindow which is called when the display has changed: PRBool nsWindow::ReportDisplayChange() { // nsEvent nsGUIEvent changeEvent; changeEvent.eventStructType = NS_GUI_EVENT; changeEvent.message = NS_DISPLAYCHANGED; changeEvent.time = PR_IntervalNow(); // nsGUIEvent changeEvent.widget = this; changeEvent.nativeMsg = nsnull; // dispatch event return (DispatchWindowEvent(changeEvent)); } The call to DisplayWindowEvent will take care of getting the message to the viewmanager.
Assignee | ||
Comment 1•23 years ago
|
||
This bug is invalid. There isn't any way to dynamically change the display depth. To change the display depth you must relaunch the xserver.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•