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
This commit is contained in:
Peter Kümmel 2007-01-14 17:14:31 +00:00
parent 20ca103817
commit 45cd993a66

View File

@ -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
}
}