STR #2457

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 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
Summary:Patch to fix window icon on 64bit X11 (linux)
Created By:ddurham
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
#1 ddurham
09:10 Nov 24, 2010
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#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.
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


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