Merge remote-tracking branch 'origin/stable' into dev
also amended the libhybris plugin according to the merged change. Change-Id: I2987043cf21936aa0f221343d00dacdc574be06a
This commit is contained in:
commit
47d979b9fa
@ -3,6 +3,8 @@ QT += core-private gui-private
|
||||
QT_FOR_PRIVATE += platformsupport-private
|
||||
|
||||
MODULE=waylandclient
|
||||
MODULE_PLUGIN_TYPES = wayland-graphics-integration-client
|
||||
|
||||
load(qt_module)
|
||||
|
||||
CONFIG += link_pkgconfig qpa/genericunixfontdatabase wayland-scanner
|
||||
|
@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_LIBRARY
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
|
||||
(QWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration/client"), Qt::CaseInsensitive))
|
||||
(QWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive))
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, directLoader,
|
||||
(QWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String(""), Qt::CaseInsensitive))
|
||||
#endif
|
||||
|
@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_LIBRARY
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
|
||||
(QWaylandServerBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration/client"), Qt::CaseInsensitive))
|
||||
(QWaylandServerBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive))
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, directLoader,
|
||||
(QWaylandServerBufferIntegrationFactoryInterface_iid, QLatin1String(""), Qt::CaseInsensitive))
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
PLUGIN_TYPE = wayland-graphics-integration/client
|
||||
PLUGIN_TYPE = wayland-graphics-integration-client
|
||||
load(qt_plugin)
|
||||
|
||||
QT += waylandclient-private
|
||||
|
@ -1,4 +1,4 @@
|
||||
PLUGIN_TYPE = wayland-graphics-integration/client
|
||||
PLUGIN_TYPE = wayland-graphics-integration-client
|
||||
load(qt_plugin)
|
||||
|
||||
QT += waylandclient-private
|
||||
|
@ -1,4 +1,4 @@
|
||||
PLUGIN_TYPE = wayland-graphics-integration/client
|
||||
PLUGIN_TYPE = wayland-graphics-integration-client
|
||||
load(qt_plugin)
|
||||
|
||||
QT += waylandclient-private
|
||||
|
@ -1,4 +1,4 @@
|
||||
PLUGIN_TYPE = wayland-graphics-integration/client
|
||||
PLUGIN_TYPE = wayland-graphics-integration-client
|
||||
load(qt_plugin)
|
||||
|
||||
QT += waylandclient-private
|
||||
|
@ -1,4 +1,4 @@
|
||||
PLUGIN_TYPE = wayland-graphics-integration/client
|
||||
PLUGIN_TYPE = wayland-graphics-integration-client
|
||||
load(qt_plugin)
|
||||
|
||||
QT += waylandclient-private
|
||||
|
@ -1,4 +1,4 @@
|
||||
PLUGIN_TYPE = wayland-graphics-integration/client
|
||||
PLUGIN_TYPE = wayland-graphics-integration-client
|
||||
load(qt_plugin)
|
||||
|
||||
QT += waylandclient-private
|
||||
|
@ -517,6 +517,12 @@ void QWaylandInputDevice::Pointer::pointer_axis(uint32_t time, uint32_t axis, in
|
||||
QPoint pixelDelta;
|
||||
QPoint angleDelta;
|
||||
|
||||
if (window == NULL) {
|
||||
// We destroyed the pointer focus surface, but the server
|
||||
// didn't get the message yet.
|
||||
return;
|
||||
}
|
||||
|
||||
//normalize value and inverse axis
|
||||
int valueDelta = wl_fixed_to_int(value) * -12;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user