summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-15 01:24:38 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-16 09:28:29 +0000
commit955b18d41866508dd0d69704991c03d7d9479e5d (patch)
tree12864d0282a53ba66059bb558d4f72561e979200 /vcl/unx/gtk
parent8d151e0e55e1945bc5f633dc916372a3ea27a16d (diff)
vcl: second part of fix for fdo#43458 - get xrandr / y positioning right
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index 0768093ef9fb..4869c4594873 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -1880,7 +1880,7 @@ void GtkSalFrame::SetScreen( unsigned int nNewScreen, int eType, Rectangle *pSiz
if( eType == SET_FULLSCREEN )
{
maGeometry.nX = aNewMonitor.x;
- maGeometry.nY = aNewMonitor.x;
+ maGeometry.nY = aNewMonitor.y;
maGeometry.nWidth = aNewMonitor.width;
maGeometry.nHeight = aNewMonitor.height;
m_nStyle |= SAL_FRAME_STYLE_PARTIAL_FULLSCREEN;