DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2101
Version: 1.3-current


Thanks, Ian and Greg, for the test program - this is very helpful. I could
now verify that fl_msg.hwnd sometimes contains the real window's hwnd and
sometimes (most of the times in the test program) that of the FLTK's
pseudo timer window, as I supposed.

I added a Fl_Window argument to fl_set_spot() in my local copy, and
changed it to use this instead, and this seems to work, but I need further
testing.

For a short term workaround, the OP should modify his patch suggestion
like this:

if (!w) {
  flImmReleaseContext(fl_msg.hwnd, himc);
  return;
}

This should also prevent any "Windows Resource" leaks.

I'll try to add one or the other update to svn before the next snapshot.


Link: http://www.fltk.org/str.php?L2101
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to