void GuiView::closeEvent(QCloseEvent *)
 {
+       // FIXME:
+       // change the ifdef to 'geometry = normalGeometry();' only
+       // when Trolltech has fixed the broken normalGeometry on X11.
+       // Then also the moveEvent, resizeEvent, and the
+       // code for floatingGeometry_ can be removed;
+       // adjust lyx_gui::start
+#ifdef Q_OS_WIN32
        QRect geometry = normalGeometry();
+#else
+       updateFloatingGeometry();
+       QRect geometry = floatingGeometry_;     
+#endif
+       


Here the Qt task:

http://www.trolltech.com/developer/task-tracker/index_html?id=119684+&method=entry

I will add the link to the comment.

Peter

Reply via email to