title: How to disable drag of QWidget with Qt::CustomizeWindowHint?
body: <p>I create simple QWidget with Qt::Window | Qt::CustomizeWindowHint flags + fixed size (OS: Windows 7). How can I disable dragging of this window by the top border?</p>
  
  <p>Window created without title bar - so it should not be draggable by mouse. Is it bug in Qt (4.8.4)?</p>
  
  <p>Code:</p>
  
  <pre><code>#include &lt;QtGui/QApplication&gt;
  #include &lt;QWidget&gt;
  
  int main( int argc, char *argv[] )
  {
      QApplication a(argc, argv);
      QWidget w;
      w.setWindowFlags( Qt::Window | Qt::CustomizeWindowHint );
      w.setFixedSize( 300, 200 );
      w.show();
      return a.exec();
  }
  </code></pre>
  
  <p>Screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/st3n6.png" alt="sample"></p>
  
  <p>UPD: please, do not propose Qt::FramelessWindowHint, because it completery removes border.</p>
  
  <p>The only question is: Why dragging is available only for top border?</p>
  
  <p>Reported as bug: <a href="https://bugreports.qt-project.org/browse/QTBUG-31144" rel="nofollow noreferrer">QT-BUG-31144</a></p>