- 28 Aug, 2015 - 1 commit
-
-
Liang Qi authored
Conflicts: src/client/qwaylandwindow.cpp Change-Id: I80ead87f3e1f36299b1bf9cc9c7db6cd48c0e86f
-
- 27 Aug, 2015 - 1 commit
-
-
Giulio Camuffo authored
Instead throw a warning and keep using the old one. Change-Id: I1533b3930d4d8c884db922b0d6dd567ef7e4f67c Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
-
- 26 Aug, 2015 - 2 commits
-
-
Mikko Harju authored
If a transient parent of a surface is destroyed before the surface itself, reset all references to that parent surface. Change-Id: I5b748099d8a5502632d8846c5de5381b5f28b665 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
Giulio Camuffo authored
Change-Id: I51da06261acfb193a59db34bc2dd25e3452fce8d Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
- 25 Aug, 2015 - 1 commit
-
-
Bernd Weimer authored
It was not possible to use a different input context than the platform context. This has been unified across major platforms, depending on the environment variable "QT_IM_MODULE", the following context is selected: - null: default platform context (Wayland in this case) - empty: no context - set: set one, if it exists and is valid (otherwise no context) Change-Id: I07c6fb339c434f99fc6e092a2e18f00600daa3bc Reviewed-by:
Nedim Hadzic <nedim.hadzic@pelagicore.com> Reviewed-by:
Jan Arne Petersen <jan.petersen@kdab.com> Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
- 13 Aug, 2015 - 1 commit
-
-
Thiago Macieira authored
LGPLv3 refers to it but does not include it in its body. Change-Id: Ib056b47dde3341ef9a52ffff13eed18cf3504738 Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com>
-
- 06 Aug, 2015 - 1 commit
-
-
Morten Johan Sørvig authored
QMouseEvent -> QPoint in QSimpleDrag::move and drop Task-number: QTBUG-46615 Change-Id: I9cda0f039ee8f5a70219b320abbb65f8649747e1 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
- 23 Jul, 2015 - 1 commit
-
-
Giulio Camuffo authored
To manage the keyboard state and send key events to clients we use the xkbcommon library (unless disabled). That means that we currently have a separation between key events outgoing to clients and key events being used internally in the compositor, resulting in different keysyms being produced in the two cases for the same hardware key. Filter the key events coming from the underlying platform and modify them according to the xkb state instead. Change-Id: I4c6678be68e5b214b2b9cd0222dc9f425c580085 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
-
- 22 Jul, 2015 - 2 commits
-
-
Julien Brianceau authored
Change-Id: Ibe1811ee0b7057d082a55c4ae62e5932f7e10b84 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
Giulio Camuffo authored
Change-Id: I52628f87dbea5383db06468f9748a9bacdec3179 Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
-
- 15 Jul, 2015 - 1 commit
-
-
Giulio Camuffo authored
When a client attachs a NULL buffer on a surface we may want to hang on to the old buffer for a bit, e.g. to do a hide animation. Add the QWaylandUnmapLock class to keep a surface mapped after an attach(0) request. Change-Id: I5d5be0b36410a76a58d2b68c1b2ac5e3b875a801 Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
-
- 06 Jul, 2015 - 1 commit
-
-
Giulio Camuffo authored
It is a bit dangerous to call wl_display_dispatch() in the event thread, since it may race with the dispatch called e.g. in QWaylandDisplay's blockingReadEvents() and lead to a dead lock. Instead, use wl_display_prepare_read() and wl_display_read_events() in the event thread, which doesn't block, and only dispatch in QWaylandDisplay. As a result we don't need the additional wayland queue anymore, so remove it. Change-Id: I9fbbe5d2f38d06773beb7847df1a0212cca92c37 Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
-
- 04 Jul, 2015 - 2 commits
-
-
Sergio Martins authored
Change-Id: Iac40929aebc1e0f507b729b0c01a2ccb18516c37 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
Giulio Camuffo authored
QToolTip has the same problems as QMenu, that is you can create one without a parent and with a global position. Use the same trick and use the window that last received an input event as the parent. Change-Id: I093c8da0d54110903f35670b01dea6fa96abecf4 Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
-
- 29 Jun, 2015 - 3 commits
-
-
Liang Qi authored
Conflicts: .qmake.conf Change-Id: Ic75157b11eee188608c3ac7ed6fb1a033bb72750
-
Andrew den Exter authored
With a queue of just two buffers BufferAttacher can end up holding references to both after the renderer is stopped starving the client application and causing it to block in the glSwapBuffers until the renderer restarts or the surface is destroyed. Release the current buffer to the client when the renderer is stopped so it can continue. Change-Id: Ica0e13ef78f7e6058e273c26b517a88d07f958c7 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
Oswald Buddenhagen authored
Change-Id: I7000630632373cf7d81c6c0b307f1ab41c2e133f
-
- 26 Jun, 2015 - 1 commit
-
-
Liang Qi authored
Change-Id: Iaf9eaa171c141d79c52441de8a697c87e2e42407
-
- 16 Jun, 2015 - 1 commit
-
-
Cedric Chedaleux authored
Keymap update was only performed when a key was pressed. A key press right after a keymap update was pretty long. Keymap may therefore be updated if no key is currently pressed. It avoids waiting for the next key press. It must also be set when last key was released and do no need to wait for the next key press. Change-Id: I9646a02f3112c8beb0f1cf90139e2b69af55a9b0 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
- 15 Jun, 2015 - 1 commit
-
-
Jørgen Lind authored
Change-Id: Ia8a927c5bcfb45bc7a8c16d1c8ff75487fe71cdd Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
- 12 Jun, 2015 - 9 commits
-
-
Olivier Blin authored
This occurs for example when a Qt Quick2 application calls showFullScreen() while a rendering is already in progress. The GUI thread was calling destroyEglSurfaces() from setGeometry() and thus destroying the buffers, while the render thread was trying to use the buffers from swapBuffers(). There was a division by zero in swapBuffers() with the modulo m_count operation, because EGL surfaces were destroyed and m_count was 0. This fix is quite fragile, proper locking on buffers would be better. Change-Id: I41fcb2fcebec84c0dfc82ce56c6e323d3722b30a Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
Change-Id: I0c6b59eb9d59d6db4a71811562cdf740bfb0a06e Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
They were not destroyed until the client quit, so this could be significant after many resize operations. This was also leaked server-side as a result. Change-Id: If9b84a06e3f9c79af92a949bc67e81ef9e00a230 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
Change-Id: I8944c176f12932eb51e867bc39820b2553a5d3ba Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
Change-Id: I28200698706168308e450b2cd3cfa99df517f9b7 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
Change-Id: Ie02e6667e5867b729cf5a519705ded4f79b9f4b1 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
Change-Id: I7ad508cb07a73d6699e9d2742ea029409f498a87 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
Olivier Blin authored
Make it a scoped pointer. Change-Id: Iaeef87cad2022496ebe3a7c746b02584fac9a485 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Olivier Blin authored
Also fix a comment alongside. Change-Id: I0091a89ff8e7ed46e769ea47a0225bc87db2c1f5 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
- 09 Jun, 2015 - 5 commits
-
-
Christian Kandeler authored
Change-Id: I5d6eedeb3dfb80ca9df7ca27e29ad6604dbfe683 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Giulio Camuffo authored
We must offset the wheel events' position, as we do with the other types of mouse events. Change-Id: If85e93ffe95304c7dee4c2a3ff195a73243a8182 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Giulio Camuffo authored
Change-Id: I5a161119b20301a405bdde9bbea6bfbdcc4b9fa0 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Giulio Camuffo authored
QWaylandDisplay::flushRequests() does not only flush them, but also dispatches the pending events. If we have two wl_data_device.selection events in the queue we must not dispatch the second one while we are dealing with the first one because that will replace the data offer and delete us while we're in QWaylandMimeData::retrieveData_sys(). Change-Id: Ib58ca571867faa2633daa9ec94fe7094df02e9fd Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Giulio Camuffo authored
By calling destroy() on the active wl_data_source before replacing it with a new one and calling set_selection() we trigger a spurious selection(null) event before the one with the offer for the source we are going to set. Change-Id: I6c2f2fd029fa523312b9892c6a5050805dfa83b0 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
- 08 Jun, 2015 - 1 commit
-
-
Sergio Martins authored
Change-Id: Ic89d25a4497ffaffb3f6b688f4c5ecc5128e9642 Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-
- 03 Jun, 2015 - 1 commit
-
-
Liang Qi authored
Conflicts: src/compositor/wayland_wrapper/qwloutput.cpp Change-Id: I05f7431aca46760f90632dfa7ef9c4d0abf392ec
-
- 29 May, 2015 - 1 commit
-
-
Jørgen Lind authored
Change-Id: If5ae8749ccbddfc878ae4e0adaa40f072527d425 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 28 May, 2015 - 1 commit
-
-
Giulio Camuffo authored
Task-number: QTBUG-44503 Change-Id: I6932df57bb4560b6dceb72a5cb7c536cd090e92a Reviewed-by:
Martin Gräßlin <mgraesslin@kde.org> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
- 25 May, 2015 - 1 commit
-
-
Liang Qi authored
Conflicts: .qmake.conf Change-Id: Iafa184859c6610a39f4251e6ca59d0863eed3ae0
-
- 17 May, 2015 - 1 commit
-
-
Bhushan Shah authored
One should always use Q_SLOTS/Q_SIGNALS in then public headers Change-Id: Ibbba0d3ff402bd320049bcd58ced07ad1342ef3b Reviewed-by:
Giulio Camuffo <giulio.camuffo@jollamobile.com>
-