More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice.
This commit is contained in:
@@ -552,3 +552,19 @@ RendererStack::event(QEvent* event)
|
||||
}
|
||||
return QStackedWidget::event(event);
|
||||
}
|
||||
|
||||
void
|
||||
RendererStack::setFocusRenderer()
|
||||
{
|
||||
if (current)
|
||||
current->setFocus();
|
||||
}
|
||||
|
||||
void
|
||||
RendererStack::onResize(int width, int height)
|
||||
{
|
||||
if (rendererWindow) {
|
||||
rendererWindow->r_monitor_index = m_monitor_index;
|
||||
rendererWindow->onResize(width, height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user