summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2011-06-23 13:35:01 +0200
committerRadek Doulik <rodo@novell.com>2011-06-23 13:38:50 +0200
commit99222151485297266936bb3a8a8cd4162cb25f70 (patch)
treefbe578a89b3fd76e38cd37853172c76ab1341041
parenteb1f0c94dfab3aa8afebda8e4a18664e5ac08fa5 (diff)
make sure we send resize event to fullscreen windows
- this fixes regression of i#86302 fix. it happens when screen is resized (by xrandr for example) and the fullscreen windows are not notified about their size change, because they don't have sizeable style set
-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 ac71570941..c5c2ae829e 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -3069,7 +3069,7 @@ gboolean GtkSalFrame::signalConfigure( GtkWidget*, GdkEventConfigure* pEvent, gp
* - which is not good since the window manager will now size the window back to this
* wrong size at some point.
*/
- if( (pThis->m_nStyle & (SAL_FRAME_STYLE_SIZEABLE | SAL_FRAME_STYLE_PLUG)) == SAL_FRAME_STYLE_SIZEABLE )
+ if( pThis->m_bFullscreen || (pThis->m_nStyle & (SAL_FRAME_STYLE_SIZEABLE | SAL_FRAME_STYLE_PLUG)) == SAL_FRAME_STYLE_SIZEABLE )
{
if( pEvent->width != (int)pThis->maGeometry.nWidth || pEvent->height != (int)pThis->maGeometry.nHeight )
{