summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/window/gtkframe.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-05 14:25:35 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-05 14:25:35 +0000
commitd4f61372b23d6bb7f4df1e563f0823b3a3211c1d (patch)
tree0a2c68481fe60bdfcc3a282cba8c19ee8f99bb75 /vcl/unx/gtk/window/gtkframe.cxx
parent190ea1e42d4f64868a107dd830ab2a50401240e2 (diff)
INTEGRATION: CWS vcl74 (1.59.42); FILE MERGED
2007/01/31 15:25:15 pl 1.59.42.1: #i47175# update eventual pointer grab with cursor
Diffstat (limited to 'vcl/unx/gtk/window/gtkframe.cxx')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index aca2999d9b00..535df4b1f7f3 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: gtkframe.cxx,v $
*
- * $Revision: 1.59 $
+ * $Revision: 1.60 $
*
- * last change: $Author: ihi $ $Date: 2006-12-21 12:04:26 $
+ * last change: $Author: obo $ $Date: 2007-03-05 15:25:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1746,6 +1746,9 @@ void GtkSalFrame::SetPointer( PointerStyle ePointerStyle )
GdkCursor *pCursor = getDisplay()->getCursor( ePointerStyle );
gdk_window_set_cursor( GTK_WIDGET(m_pWindow)->window, pCursor );
m_pCurrentCursor = pCursor;
+
+ if( getDisplay()->MouseCaptured( this ) || m_nFloats > 0 )
+ grabPointer( TRUE, TRUE );
}
}