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

[STR New]

Link: http://www.fltk.org/str.php?L1716
Version: 1.1-current


Actually this is very very ugly hack. Simply said, XGetImage require that
fl_window drawable _must_ be fully visible. 

In xinerama case, Fl::x/y/w/h will consult window manager for screen
bounds, and is up to wm to report them correctly. On other hand, maybe
using screen_xywh() will be better since it will directly consult xinerama
(if present) for bounds.

Better alternative would be to pick up those bounds, draw image on visible
area and quickly clip it with area size that is outside, using system
specific calls.

This issue repeats in cases when you, for example, have window with moving
boxes (with icons) in it; moving that box (when window is shown) in eg. x=
-3, y= -3, where icon is partially visible, will yield given description.


Link: http://www.fltk.org/str.php?L1716
Version: 1.1-current

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

Reply via email to