--Boundary-00=_u9Ef/V5WiPzszqQ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, as a part of certain kwin related "research", I'd need if people who run KDE on laptops could run the attached app after X startup, and send me the output. If you have a laptop, please shut down your X, start it again, don't start KDE (use e.g. the failsafe mode), run the attached app, and mail me the numbers it prints, your XFree86 version, and what kind of notebook you have. Mail directly to me, not to the list please. Thanks -- Lubos Lunak KDE developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz/ --Boundary-00=_u9Ef/V5WiPzszqQ Content-Type: text/x-c++src; charset="us-ascii"; name="a.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="a.cpp" #include #include #include #include #include extern Time qt_x_time; int main( int argc, char* argv[] ) { KCmdLineArgs::init( argc, argv, "a", "b", "c" ); KApplication::disableAutoDcopRegistration(); KApplication app; static QWidget* w = 0; if ( !w ) w = new QWidget; long data = 1; XChangeProperty(qt_xdisplay(), w->winId(), XA_ATOM, XA_ATOM, 32, PropModeAppend, (unsigned char*) &data, 1); XEvent ev; XWindowEvent( qt_xdisplay(), w->winId(), PropertyChangeMask, &ev ); kdDebug() << qt_x_time << ":" << ev.xproperty.time << endl; } --Boundary-00=_u9Ef/V5WiPzszqQ--