| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #2855
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | X11 |
Summary: | Fl::w() and other workarea functions not correctly updated upon changes |
Version: | 1.3-current |
Created By: | astrand |
Assigned To: | manolo |
Fix Version: | 1.3-current (SVN: v9600) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | astrand 00:29 Jun 14, 2012 |
| This is an update to STR #2600. When the screen resolution changes, the workarea returned by FLTK is not always updated. This is an intermittent problem and caused by two different bugs:
1) Randr mandates that XRRUpdateConfiguration() must be called upon changes. It was until r9123 ("under X11, dynamically load the libXrandr shared library"). The attached patch restores this functionality.
2) Changes to _NET_WORKAREA are not tied to RRScreenChangeNotify: It may take a while before the WM updates this property after a screen change. Also, the property may be updated even without a screen change, for example, if you add a new side panel. Thus, we must listen for changes to it.
The attached patch fixes both these problems. | |
|
#2 | manolo 01:38 Jun 14, 2012 |
| Fixed in Subversion repository.
Many thanks for the excellent patch. | |
[ Return to Bugs & Features ]
|
| |