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-28 15:17:23 +0200
commit7cd035c10c000565361594119318eab1e5d9f6c1 (patch)
tree9e06d00b12765904fe2db47dbefd21fa82b9ae43
parent8837e1b9668410f9de3ad55e8bc5cf369ea9d94c (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 f8f5d61a4d..9f7d347e49 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -3001,7 +3001,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 )
{