Author: ianmacarthur
Date: 2012-04-30 12:25:46 -0700 (Mon, 30 Apr 2012)
New Revision: 9412
Log:
Possible fix for X11 origins issue in r9411



Modified:
   branches/branch-3.0/src/fltk3/rect.cxx

Modified: branches/branch-3.0/src/fltk3/rect.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/rect.cxx      2012-04-30 17:14:15 UTC (rev 
9411)
+++ branches/branch-3.0/src/fltk3/rect.cxx      2012-04-30 19:25:46 UTC (rev 
9412)
@@ -642,7 +642,7 @@
 // Missing X call: (is this the fastest way to init a 1-rectangle region?)
 // MSWindows equivalent exists, implemented inline in win32.h
 fltk3::Region XRectangleRegion(int x, int y, int w, int h) {
-  x += origin_x(); y += origin_y();
+  x += fltk3::origin_x(); y += fltk3::origin_y();
   XRectangle R;
   clip_to_short(x, y, w, h);
   R.x = x; R.y = y; R.width = w; R.height = h;

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

Reply via email to