[rkward-cvs] SF.net SVN: rkward:[3071] trunk/rkward/rkward/windows/rkwindowcatcher.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Sep 23 16:46:29 UTC 2010


Revision: 3071
          http://rkward.svn.sourceforge.net/rkward/?rev=3071&view=rev
Author:   tfry
Date:     2010-09-23 16:46:29 +0000 (Thu, 23 Sep 2010)

Log Message:
-----------
Trying to sync this way locks up on Windows (and does not seem to be needed, there)

Modified Paths:
--------------
    trunk/rkward/rkward/windows/rkwindowcatcher.cpp

Modified: trunk/rkward/rkward/windows/rkwindowcatcher.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkwindowcatcher.cpp	2010-09-23 15:21:38 UTC (rev 3070)
+++ trunk/rkward/rkward/windows/rkwindowcatcher.cpp	2010-09-23 16:46:29 UTC (rev 3071)
@@ -57,11 +57,11 @@
 	if (new_cur_device != last_cur_device) {
 		if (w) {
 			RKWorkplace::mainWorkplace ()->newX11Window (w, new_cur_device);
+#if defined Q_WS_X11
 			// All this syncing looks like a bloody hack? Absolutely. It appears to work around the occasional error "figure margins too large" from R, though.
 			qApp->processEvents ();
 			qApp->syncX ();
 			qApp->processEvents ();
-#if defined Q_WS_X11
 			// this appears to have the side-effect of forcing the captured window to sync with X, which is exactly, what we're trying to achieve.
 			KWindowInfo wininfo = KWindowSystem::windowInfo (w, NET::WMName | NET::WMGeometry);
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list