| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Instead of building only one platform plugin through the use of a
complicated if/else structure, build a plugin for each available
hardware integration type.
Change-Id: If133576515a881274019c1ac5956605f27a9fc40
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are inconsistencies between how we represent mouse wheel deltas
and how the Weston compositor does. For better compatibility with
Weston we need to change our mouse axis events too look like
Up: positive Y (+10)
Down: negative Y (-10)
Left: positive X (+10)
Right: negative X (-10)
Our synthesised mouse wheel deltas are (+ or -)120 with both axes
inversed.
With this change Qt Clients should behave the same way on both Weston
and QtCompositors.
Change-Id: I37b4fd8cbb93e5a1a135a60ae8c3547c823aeba2
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
|
|
|
|
|
|
|
|
|
| |
The previous code was a blob of C code copied from the Weston project.
There is now a map containing most of the relevant xcursors names needed
by the Wayland cursor API, and now we lazily load the cursors we need.
Change-Id: Id4b37ab2b6360d13f6fb8ce7da791ea9baf15c57
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Loading the KDE and Gnome settings for Wayland clients don't yet make
sense. For the platform theme we check to see whether we are in a KDE
or Gnome environment, then set the default style hints based on that.
Right now for the Wayland platform, it makes more sense to use the
generic UNIX platform theme.
If there are ever KDE or Gnome Wayland environments available, it may be
worth reconsidering, but for now it just causes problems(like the GTK+
style being loaded even though it has X11 dependencies).
Change-Id: I13017c46f47ae34df884d2070a239c16ffbee850
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
|
|
|
|
|
|
|
| |
cursor pointer is null when we unset, so we must check for this.
Change-Id: Ib0b0dae8e98d7f3b3f7e2a1d2037d3d4981027f4
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
| |
Change-Id: I23527bf06b88c8f612f9bfe7d48f61e80aa6bec3
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
|
|
| |
Change-Id: I7db31679d2fbc7f053e9eca53fdf2593dfe33f89
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
| |
Draw window icon to the left of the title.
Change-Id: I35921a8f9326d04e8601336d318fb8ec9a2c2b4e
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The planned fix for the task introduces passing cursor = 0
meaning "no cursor set" for the window in question. Prevent
it from crashing by defaulting to Qt::ArrowCursor.
Task-number: QTBUG-28879
Change-Id: I3233c79d41ccf96cee237d93624b3ea740b7e772
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
| |
Change-Id: I4153b72876b272c508264c82ac10def68ee4349d
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
|
|
|
|
| |
Use colors from QPalette to draw the client-side decorations.
Also, draw using a linear gradient which makes the title bar look
three-dimensional.
Change-Id: Ib34ebc354f4c7556051a6164323fe178be13fe27
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add close, maximize and minimize buttons to the title bar.
However the minimize button is not yet implement, it seems missing from
the wl_shell_surface API.
Task-number: QTBUG-27465
Change-Id: Id683f069cf5b329f827af87f457cfd81a5c6e6a1
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we tried to make a QMenu visible that had already been visible
before, we were getting stuck waiting for a frame callback that we never
requested. We now check for this case in
QWaylandShmBackingStore::beginPaint
Task-number: QTBUG-29021
Change-Id: I5334aa677ba36d801e9a96938cc5924856dcdcc3
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
| |
Avoid covering the action buttons with the title.
Change-Id: Iff6696a8a9eca2804e7ff3a0e778675fb538d8da
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
We should not call handleWindowActivated(0) as a result of
QWaylandInputDevice::keyboard_leave
Task-number: QTBUG-27464
Change-Id: Ic59a051bc6403aa0c43a9525a4d09661065d177a
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|
|
|
|
|
|
|
|
|
| |
This was a define added by a wayland patch that was not accepted
upstream. This should no longer be needed, and the patch has been
removed from our codebase.
Change-Id: I6c823a5e9771ea29c640d27fd2de2a42982ed7b8
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The class name identifies the general class of applications to
which the surface belongs. The class is the name of the desktop
file and is derived from the process name.
We might want to add a new method to QWindow in order to set
a custom class name.
It's quiet similar to WM_CLASS on X11, for more information
see https://live.gnome.org/GnomeShell/ApplicationBased
Change-Id: I5be90fb45e82e79710dda376f42c18c126d2a80f
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
| |
Change-Id: Iabbada23d010ac0fdf99f88af3f109f94814b5ea
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that both xkbcommon 0.2.0 and libWayland 1.0.0 have been
released, we should no longer be building against sha1's and
should be preparing for an eventual release so these build hints
have been removed.
A test has been added for libWayland 1.0.0 which is required to
build QtWayland.
README has been updated to reflect the current situation
src/3rdparty has been removed as it has not been used in some time.
patches folder and contents have been removed as they are no longer
needed.
extensions folder has been moved to the src folder
Change-Id: Iab79b5c164758a4bd0253c90f60b2a2d044e2785
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Before we return from the platform integration constructor, and thus
before the application tries to create QPlatformWindows or
QPlatformOpenGLContexts.
Change-Id: Iface9116f876e2d25561be4fcaee5fd7dabba572
Reviewed-by: Florian Hänel <florian.haenel@basyskom.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
| |
Change-Id: I7521e583bf18f3690ecc6baacd05a5e92e9fd890
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
| |
Change-Id: I5b2092ed9dac8201c7a681acea0a3d703423c743
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
|
|
|
| |
DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.
Change-Id: I82a97498be26a6e9021deb6fff02a21bd4787851
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
|
|
|
|
|
|
|
|
| |
Follow change introduced in d6588d2
Change-Id: I1040e973612edced105163c2af06d165a0c27d51
Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
| |
Change-Id: I442a592d0833a82594e55213a10308243324012c
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: Ie8df028fed311e8938ed8d25552e11dc8ff9261a
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
| |
Change-Id: I71024a4f36d4952c70b3dc3caa2156e2e7c9b837
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: Ie65cbe0c622780d2f0672bce19d267d1167620ff
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
|
|
|
|
|
|
|
| |
There is already a variable named "windowmanager_listener"
Change-Id: I40bfb42a5b0b35d0d8851f0baa6f3741b47ae57e
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
| |
Change-Id: I229c0704fc3a5d230c921b8f9a08ad1b8ee124f6
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie171d9342d877792c2f0b19694ff020965d91985
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
| |
Change-Id: I3a0adb4b935282b9bb421a87dc8241d6ea8271f0
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib5fea95a37d2e4309e68e04320ba6ad097128a66
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
|
|
|
| |
Use QGenericUnixTheme to return a list of themes and create new
QPlatformTheme objects.
Change-Id: Iaac113aad3bc088f51695c224433287701113960
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
| |
Change-Id: I3efbd0c87c19c8ff2c382c56d2ca34bbe2e7033d
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Set DESTDIR to $$QT.compositor.plugins/platforms in order to create
the plugin binary into the local plugins directory. When building
Linux packages you usually are in a chroot environment and can't
write files outside your build directory, this change avoid
permission errors.
Change-Id: I3e518f20308b852f4de6a5355af60fc67681cace
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
|
|
|
|
| |
This reverts commit c269b748bd1f14207cf600ad5cb75a21a5e824a4.
QWindowSystemInterface is not part of QPA anymore.
Change-Id: I372646bda5b4ea7f1ea2bcf775873b1596c07091
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie7d80e7591d11aa5df87ca5d5de4cd6c03928c83
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
|
|
|
|
|
| |
Change-Id: Icf48c40b4d078b13c4132e52d351a22395d4ca76
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
|
|
|
|
|
| |
Change-Id: I4f56aba2d42f2f9b469bdcd8cf4312fee93ab911
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Since QWindowSystemInterface is now part of QPA API. The correct
inclusion is:
#include <qpa/qwindowsysteminterface.h>
#include <qpa/qwindowsysteminterface_p.h>
Change-Id: I9f5eafbd67fac3ed144f85c37943e5e1bae5a18e
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- load(qt_module) => load(qt_build_config)
- remove:
- CONFIG+=module (obsolete)
- code relating to module version headers (automated now)
- %mastercontent assignment (automated now)
- QT_BUILD_*_LIB defines (automated now)
- pointless QPRO_PWD assignments
- qmake -project boilerplate
- dead code
Change-Id: Ia515c3cc40170e3b99b0bfd04c10637d49f9b99f
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
| |
Change-Id: I70f4f4e81a042a977748dbb42b069b3706829828
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
| |
Change-Id: If3d1920fe253d3de43aeef77afeb92f7624c6ba0
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|
|
|
|
|
|
| |
Otherwise we get the usual delete_id for live object warnings with Weston.
Change-Id: I4c24cec6522ea9f501495d4f5e29f9725976f202
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
| |
Change-Id: I68b480b7feea814f79997c6a39e4567c3a990f47
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Makes tooltips and tooltip-like components like Create's locator show
up properly. These should never get keyboard focus even though they
are regular surfaces like any other.
Change-Id: I0ade61845d9785cad19040683362a5532a04e6f6
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|
|
|
|
|
|
|
| |
Widget apps had certain components, like context menus, popping up at
somewhat off positions. This was caused by a local-global mismatch.
Change-Id: Ia87be2419b4686c54852eb87640079ab262146cc
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|
|
|
|
| |
Change-Id: I3a13e0f05a3504e4d7b7f13c29ace139f88041e5
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|
|
|
|
|
|
|
| |
Use our own qualified pkg-config mkspec feature rather than directly
executing the system binary
Change-Id: I4b162cd8d2d9a8bd5d0b3adb9ca935df9ff96a69
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|