| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]
STR #2457
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | Unassigned |
Summary: | Patch to fix window icon on 64bit X11 (linux) |
Version: | 2.0-current |
Created By: | ddurham |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | ddurham 09:10 Nov 24, 2010 |
| In CreateWindow for x11, the icon data is being treated as an (unsigned *), but X says it should be (unsigned long *). The size of long [typically] changes from 32bit to 64bit.
This patch fixes the problem that I've seen. Obviously, since the window icon functionality still requires a bit of care with the data passed in, this would not fix problems when the caller isn't using 64bit quantities as they should. But when the caller does things correctly, and fltk does things correctly, then it works. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |