mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
20ca103817
commit
45cd993a66
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user