diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-06-07 07:56:25 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-06-07 07:56:25 +0000 |
commit | 405c3513de59bbba562ff5ea6d93a6b0219e8c20 (patch) | |
tree | 0f846ff2b96c0acea714bcdddcbd78c99549de9a /dtrans | |
parent | f0a83e3c6e763d3a5fd3b663d918dfe117eba01a (diff) |
#86206# handle drag actions correctly
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/X11/X11_selection.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dtrans/source/X11/X11_selection.cxx b/dtrans/source/X11/X11_selection.cxx index 98d52cbeda9c..70c21099cb65 100644 --- a/dtrans/source/X11/X11_selection.cxx +++ b/dtrans/source/X11/X11_selection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: X11_selection.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: pl $ $Date: 2001-05-23 13:46:58 $ + * last change: $Author: pl $ $Date: 2001-06-07 08:56:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1463,10 +1463,7 @@ void SelectionManager::sendDragStatus( Atom nDropAction ) nNewDragAction = DNDConstants::ACTION_NONE; nNewDragAction &= m_nSourceActions; if( nNewDragAction != m_nUserDragAction ) - { - m_nUserDragAction = nNewDragAction; - setCursor( getDefaultCursor( m_nUserDragAction ), m_aDropWindow, m_nDragTimestamp ); - } + setCursor( getDefaultCursor( nNewDragAction ), m_aDropWindow, m_nDragTimestamp ); DragSourceDragEvent dsde; dsde.Source = static_cast< OWeakObject* >(this); |