Kaydet (Commit) 7b1fbcb0 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#106163 MouseMove/MouseLeave from crossing not mirrored in rtl

but we do mirror the event for normal mousemove, this looks like the real
bug here

Change-Id: I178d53f5f40dbd075984019e25e6d7665b6cdf87
üst 48b200a0
......@@ -160,8 +160,6 @@ void TableWindow::dispose()
void TableWindow::MouseMove( const MouseEvent& rMEvt )
{
SfxPopupWindow::MouseMove( rMEvt );
if (IsInCleanUp())
return;
Point aPos = rMEvt.GetPosPixel();
Point aMousePos( aPos );
......
......@@ -2887,6 +2887,9 @@ gboolean GtkSalFrame::signalCrossing( GtkWidget*, GdkEventCrossing* pEvent, gpoi
aEvent.mnCode = GetMouseModCode( pEvent->state );
aEvent.mnButton = 0;
if (AllSettings::GetLayoutRTL())
aEvent.mnX = pThis->maGeometry.nWidth-1-aEvent.mnX;
pThis->CallCallbackExc( (pEvent->type == GDK_ENTER_NOTIFY) ? SalEvent::MouseMove : SalEvent::MouseLeave, &aEvent );
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment