FLTK logo

STR #2855

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 astrand
00:29 Jun 14, 2012
workarea-not-updated.patch
4k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.