| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: Ia3e6dc7da90203e9c23cdbe877a7f9d6c68389d3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes:
main.cpp:83:33: error: ‘GL_RGBA8’ was not declared in this scope; did you mean ‘GL_RGBA4’?
83 | *glInternalFormat = GL_RGBA8;
| ^~~~~~~~
| GL_RGBA4
main.cpp:120:33: error: ‘GL_RGBA8’ was not declared in this scope; did you mean ‘GL_RGBA4’?
120 | *glInternalFormat = GL_RGBA8;
| ^~~~~~~~
| GL_RGBA4
Task-number: QTBUG-83304
Change-Id: I0515f3303b08c405d162986e280e9a7bd35e28f7
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Amends 222455cd643c128
Change-Id: Ifec3dc5d8698229cc0c2f375eebd5a4ebfd62d35
Reviewed-by: Johan Helsing <johanhelsing@gmail.com>
|
|\|
| |
| |
| | |
Change-Id: If50dbe8e959ba8833551cb9db4f3b69cc342b202
|
| |
| |
| |
| |
| |
| |
| | |
\qml and \endcode do not match. Amends a658a10f6a42e67
Change-Id: I9ed069a255a8843ecc4192172bbd645cea488a34
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-82789
Change-Id: I8cab4edfac68aec81bc86cfdf022c3600f7a32a8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ia8c20b7bc5ffb49beba358a2c47ac7347e1d3ecb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unconditionally generate qwayland-server-qt-texture-sharing-unstable-v1.h,
even if the header file will not be used. It is listed in syncqt.profile though,
and because of
private_headers.CONFIG += no_check_exist
in extensions.pri qmake will unconditionally generate an install rule.
Fixes: QTBUG-82569
Change-Id: I5125382f1e4fc61936515e045a7e6a4a3c608451
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Khronos headers may be recent enough to have the ifdefs but
implementation might still be missing on some platforms.
Don't use the extensions unless the configure test passes.
Change-Id: I23129115729567fa92bc23da099d27df598fc206
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The Qt version was added in 5.14 "for use as eventual replacement for
QString::SplitBehavior." Move another step closer to that goal.
Change-Id: Ie19f7580d75694982ac26c08ad5aabb73d830494
Reviewed-by: Johan Helsing <johanhelsing@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We don't want windows with FramelessWindowHint to have a
zxdg_toplevel_decoration_v1 object, because that allows the compositor to
force server-side window decorations.
We already have code in place that avoids creating the decoration object when
the window is created. However, if the frameless window hint is added after
the window has been shown, then the decoration object has already been created.
The protocol states that if a decoration object is destroyed, the window will
switch back to a mode without any server-side decorations on the next commit...
so this is what we do in this patch.
Unfortunately, there is no clean way to handle the case when the hint is
removed while the window is visible since the protocol explicitly forbids
creating toplevel decoration objects for surfaces with committed buffers.
Discussion is ongoing as to whether this should be fixed in the next version of
the protocol: https://gitlab.freedesktop.org/wayland/wayland-protocols/issues/9
If we want to work around it, it is perhaps possible to destroy and create a
new wl_surface, but ideally, it will be fixed in the next version of the
xdg-decoration protocol and we can just wait for that.
Task-number: QTBUG-80702
Change-Id: I7e76c05fc3629f1fbbba1d18482808fe588e3878
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a crash.
Otherwise we created two shell surface objects in some cases.
Change-Id: Ieded56261061da6acf27ccabba81c8f578ca1596
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: If6d7547c14dfaf06532a83ab2fbda4d0198837dc
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ia4fe187d33ddfd25a87dac8567143de6466c75a2
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If m_resource is not initialized when calling a send_* method it will
simply crash. This change checks for it beforehand so we get a warning
instead.
Change-Id: I601f9070a35a1b3e595567991f7e54e9a6572c2d
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This only fixes it for when Qt::FramelessWindowHint is set appropriately before
the window is shown.
[ChangeLog][QPA plugin] Windows with Qt::FramelessWindowHint no longer
create zxdg_toplevel_decoration_v1, as that allowed compositors to force
server-side decorations.
Fixes: QTBUG-80702
Change-Id: I47a582a59f6682a57128c0c9d4e4b9a6181925a4
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
|\ \ |
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I07752ae930d5be66dd8d6d1280c2f527a49e41a7
|
| | |
| | |
| | |
| | | |
Change-Id: Ib72ac5ffc11e3ede3f747bdfbe74d3037d16b323
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A stable version of XdgShell has been released. Since most clients now support
stable and v6 is almost a copy of stable. Most people that use v6 can probably
just switch over to stable with minimal issues.
[ChangeLog][Compositor] XdgShellV6 has been deprecated, use XdgShell instead.
Task-number: QTBUG-81853
Change-Id: I1f5affe7ab0f6a1a0fe19f3a01ee146fb3bfeecf
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A stable version of XdgShell has been released. Since xdg-shell v5 is quite
different from both the stable version and wl-shell with regards to how
configure events work, it would be a maintenance burden to keep supporting it
in Qt 6.
[ChangeLog][Compositor] XdgShellV5 has been deprecated, use XdgShell instead.
Task-number: QTBUG-81853
Change-Id: I06ffc676cb8c9c1a46de30eef59ceef8bb0ff7a3
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-73011
Change-Id: Ife0d9949b4d4dd7e6f16d3de88d0cb4bf4991e09
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 35dfb5a5, we temporarily disabled the override to let qt5.git update, now we
add it back with the new signature. This means QWindow::startSystemMove now
works for Wayland.
Task-number: QTBUG-81751
Task-number: QTBUG-73011
Change-Id: I1459300d6f7fb77a9ae07bb4f5c2b80722f9b02c
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This just requires adding 8 to the key code when the platform plugin
is qnx. Inherited from evdev which inherited it from XKB. It's
easier to conform to the requirement than remove it.
Change-Id: Icd32ebf27256f29405821c7c8b7b8d93ff7f8fe0
Reviewed-by: Dan Cape <dcape@qnx.com>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The signature of startSysteMove has changed, remove the override temporarily so
qt5.git can update. Then we can add the correct override back afterwards.
Fixes: QTBUG-81751
Change-Id: I4ef9aec1e8299e853be4ef868ecfc3a374ae6f27
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
|\|
| |
| |
| | |
Change-Id: Ic93b75388cd3322f883c2facc3022a9aa2758f0c
|
| |\
| | |
| | |
| | | |
Change-Id: I276371cd0eb2c4c550a8f26a225712a648962900
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I1a29dac00e66671e019fa7fdf60fe4894a6522a5
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
+ 09861f0081e6729383808ac4803c7fd1f0ba6dd1 Fix detection of linux-dmabuf
+ 36974955d13578071387695adb13a47be33e4d32 Avoid animating single frame cursors
+ ce06115da6bf4c8d891ff0aa382dd2b1f5b4bf65 Add client test for touch down and motion in same frame
+ c2105d8b7e16cc934b886537968228f6300bf4bc Fix compilation of linuxdmabuf compositor plugin
+ 6e9d6f166dec65e91b4dbf73ccb60170e0a56dc8 Client: really use OpenGL ES 2 API for decoration blitter
+ d0137d3c48882a6f52de9fab93c3b02c0cff8282 Client tests: Fix missing frame event
+ 7c0833f4bc22d2d947c793f0711e3f1e1a09012c Client: Always close popups when hiding a window
+ 1d0863049111926e0ff827cf17f3a7087d53c5c3 Add client test for hiding the toplevel parent of a popup
+ a2be69d47884dd995ac6e9004ba2855f354f7522 Client: Fix detection of linux-dmabuf
+ 99daf1ce6f328ed5419df93e5dc7e02e31d54be9 Bump version
+ 80ed5501cf5dcc4b6ef2a1a126d9d564c1c73851 Client: Fix inverse repeat rate implementation
+ ce15889614f87b5986f997beffd2826471adfe51 Drive cursor animation with a timer
+ f7e035446355d9cb90141e508b5d33e019e14add Stop using modern C++
Change-Id: Ic94102c60c9513d331790a1d2434895eb17f5ff1
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|\| | |
| | | |
| | | |
| | | | |
Change-Id: I4e205974d29aef0443ad7aecdb43d5ab3ee1ec64
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The EGL typedefs may have alternative declaration on some platforms,
such as NVIDIA, which cause build errors. Add guards around the
typedefs to avoid re-declaration.
Task-number: QTBUG-79709
Change-Id: I14f09c94e159ef51dd858f0877fe610ce6f582d4
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make EGL 1.5 with EGL_PLATFORM_WAYLAND_EXT a requirement for QNX and
add some EGL 1.5 code alternatives. Avoids the need to deal with
incompatibility problems between the QNX native display/window type
and Wayland display/window type.
Change-Id: Ib26a020e1f8c7f570c6af08697d8c8153c887294
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Dan Cape <dcape@qnx.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[ChangeLog][QPA plugin] xdg-output-unstable-v1 version 3 is now supported.
Change-Id: I054b2946e86175eabe76731bac94e5f287c4ee58
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-46653
Change-Id: I038a370ca8af642605709fa5ffdb1c619c60433b
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QML cannot do property binding with properties without CONSTANT or
NOTIFY. Also emit changed signal where it's not.
Change-Id: I5117383e22085af08589f6aa05892676c24f3846
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I7d7a2fdbd1f44469b90c467c9490448c13025fa5
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
|\ \ \ |
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: I21c6a0a4bc8df8dcaf9e33647482ba43c7b7d6c4
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's not safe to use qDeleteAll on lists that change when elements are
deleted.
Change-Id: I7ec5b41da9eea839d1bda88bde621cc73a27927f
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
freedesktop.org is moving over to GitLab, so let's update the urls.
Some entries were also missing a DownloadLocation, or didn't link to a single
version (which they're supposed to according to the documentation). So fixed
those as well.
Also, a couple of spelling fixes.
Change-Id: I37f5365368bc0d97420488c6d62b25adc26590f5
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Just updates the text of the protocol, no new functionality.
Change-Id: I08a09b2a3d37f61fc28967fbb1306f35a2921f0a
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is just the protocol, it doesn't implement any new interfaces or behavior.
Also update the project url, xdg-shell is now part of wayland-protocols, not
Weston.
Change-Id: I719cc99fc2c59af9abfc0c9abcb9c1daf9b43c74
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
These are just textual changes in the protocol, so shouldn't change anything
except the comments in the generated code.
Change-Id: I0c93f593a171b0af3c9a812c6a45c3b1416b42f6
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's useful to have the source of the generated file on top when
reaching it from the IDE. Also it is useful to explain that it's a
generated file at all.
[ChangeLog][qtwaylandscanner] Include a comment on top explaining what
xml file is being represented.
Change-Id: Ie0584295791f246b0e8c83e0afd3a521f6bdbb2e
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][QPA plugin] Added support for drawing tablets through the
tablet-unstable-v2 protocol.
Adds support for the basic one tablet, one tool, no pads scenario.
Besides the auto tests, I tested with a Huion Kamvas Pro 16 with a simple
pressure sensitive pen with two buttons. As far as I can tell, it works the
same way as on xcb on Sway and Gnome Shell.
Also tested on a Wacom PTZ-630 with a mouse, art pen, airbrush and a stylus.
Mapped the distance event to QTabletEvent::Z and slider to
QTabletEvent::tangentialPressure.
For now we send QTabletEvents even when there's a mouse or finger on the
tablet. Those should ideally be sent as QMouseEvents/QTouchEvents, but that's
out of scope for this patch, but at least we will send synthesized mouse events
if the tablet events are not accepted.
Change-Id: I93291ffa5f00fa2bb8533eddd8d873b84a3386b8
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new version takes the event type and the button responsible
as arguments. This commit adds logic to figure those out when
mapping touch events to mouse events.
Change-Id: Iadd1cf33aed12a05fcd28c74e2439ac8ac00f632
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie0bed19704bed89044d3cf25e7aaa1f740a4b39a
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I9ee503ea5150a80b1fd748b841b99521d323bcd9
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes compilation errors with c++11.
Fixes: QTBUG-81024
Change-Id: I13ae380a122a2d52b7b362a7a39e661a22c74afc
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new version requires the button that caused the event, as well as the event
type. Instead of adding a conversion functions to and from
QWaylandInputDevice::Type to QEvent::Type, just use QEvent::Type directly, as
there is one-to-one mappings for all the event types we need.
Fixes: QTBUG-80044
Change-Id: I0f6e0e8e7f2e026a1d601f86e819affe0570a1b2
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|