From 45cd993a6604370934a76a9ea21e9ed57b186005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sun, 14 Jan 2007 17:14:31 +0000 Subject: [PATCH] The Mac doesn't need a offset for the save/restore window position code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16678 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiView.C b/src/frontends/qt4/GuiView.C index 9cc225af82..c8a5cad01b 100644 --- a/src/frontends/qt4/GuiView.C +++ b/src/frontends/qt4/GuiView.C @@ -370,10 +370,12 @@ void GuiView::setGeometry(unsigned int width, d.posx_offset = posx - normalGeometry().x(); d.posy_offset = posy - normalGeometry().y(); #else +#ifndef Q_WS_MACX if (!maximize) { d.posx_offset = posx - geometry().x(); d.posy_offset = posy - geometry().y(); } +#endif #endif } }