Hi.

In the following code sample:

#include <QApplication>
#include <QDialog>


class Dialog
     :    public QDialog
{
public:
     Dialog()
         :    QDialog( 0, Qt::Dialog | Qt::FramelessWindowHint | 
Qt::WindowStaysOnTopHint )
     {
         resize( 300, 300 );
     }
};


int main( int argc, char ** argv )
{
     QApplication app( argc, argv );

     Dialog dlg;
     dlg.show();

     return app.exec();
}

I receive blank rectangle as I expected, but when I click on it and move 
mouse cursor window moves with the cursor. How to prohibit it on Linux? 
Thank you.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to