FLTK logo

[fltk/fltk] Skip the call to MonitorFromRect when it is not needed. (#174)

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 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] Skip the call to MonitorFromRect when it is not needed. (#174) ComputerNerd Dec 13, 2020  
 

This pull request makes two changes. The first is to only call the MonitorFromRect function when it's needed.

The second is to use GetProcAddress instead of linking against it directly so that way older versions of Windows can still run FLTK 1.4. This function was the only thing preventing it from running on Windows 95 and Windows NT 4.0.


You can view, comment on, or merge this pull request online at:

  https://github.com/fltk/fltk/pull/174

Commit Summary

  • Skip the call to MonitorFromRect when it is not needed and use GetProcAddress so the function is not a requirement.

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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'.