[Qt-interest] XGrabServer and QMainWindow screen freezes

Aaron Lewis the.warl0ck.1989 at gmail.com
Sun Jun 12 03:16:25 CEST 2011


Hi,
	I'm trying to develop a application which show up the window and
	blocks all shortcut keys provided by Window Manager , 

	At first i tried QMainWindow::grabKeyboard() and grabMouse() , but
	they didn't work as expected , i could still switch out my current
	application.

	So i tried to put XGrabServer (QX11Info::display()) in showEvent() ,
	but my screen freezes till my applicaion exits itself.

	Any suggestions ? Appreciate any of your answers.

-- 
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E



More information about the Qt-interest-old mailing list