summaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Cleaned out usages of removed or to be removed APIs.Samuel Rødal2012-12-066-23/+6
| | | | | Change-Id: Iabbada23d010ac0fdf99f88af3f109f94814b5ea Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
* Cleanup QtWayland moduleAndy Nichols2012-12-034-8/+8
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Make sure the GL integrations have been fully initialized in time.Samuel Rødal2012-11-304-0/+7
| | | | | | | | | | 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>
* Initial implementation of decorations for EGL windows.Giulio Camuffo2012-11-1718-71/+559
| | | | | | Change-Id: I7521e583bf18f3690ecc6baacd05a5e92e9fd890 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Port the Wayland QPA plugin to wayland 1.0.0.Giulio Camuffo2012-11-0421-60/+101
| | | | | Change-Id: I5b2092ed9dac8201c7a681acea0a3d703423c743 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* adjust to qt_plugin.prf changesOswald Buddenhagen2012-10-241-5/+2
| | | | | | | | 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 API change for QPlatformWindow::setWindowStateRichard Moe Gustavsen2012-10-182-6/+2
| | | | | | | | 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>
* Follow API change for QPlatformWindow::setWindowFlagsThomas Senyk2012-10-162-4/+3
| | | | | Change-Id: I442a592d0833a82594e55213a10308243324012c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fixing include warnings regarding QWindowSystemInterfaceThomas Senyk2012-10-1611-11/+11
| | | | | Change-Id: Ie8df028fed311e8938ed8d25552e11dc8ff9261a Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Compile after QWindowSystemInterface API changes.Morten Johan Sorvig2012-09-282-7/+11
| | | | | | Change-Id: I71024a4f36d4952c70b3dc3caa2156e2e7c9b837 Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2595-2240/+2322
| | | | | | | | 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>
* m_windowManagerListener is unused variableElvis Lee2012-09-121-2/+0
| | | | | | | There is already a variable named "windowmanager_listener" Change-Id: I40bfb42a5b0b35d0d8851f0baa6f3741b47ae57e Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* centralize load(qt_build_config)s in .qmake.confOswald Buddenhagen2012-09-111-1/+0
| | | | | Change-Id: I229c0704fc3a5d230c921b8f9a08ad1b8ee124f6 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Fix build errors due to api changes in QtBaseJorgen Lind2012-09-101-1/+1
| | | | | Change-Id: Ie171d9342d877792c2f0b19694ff020965d91985 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Update Wayland SHAJorgen Lind2012-08-172-2/+5
| | | | | Change-Id: I3a0adb4b935282b9bb421a87dc8241d6ea8271f0 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Fix qtwayland build with QT_NO_ACCESSIBILITYLaszlo Agocs2012-08-171-0/+6
| | | | | Change-Id: Ib5fea95a37d2e4309e68e04320ba6ad097128a66 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Add support for loading theme plugins.Pier Luigi Fiorini2012-08-162-0/+16
| | | | | | | | 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>
* Make the gl integrations use the same build options as the config testsJorgen Lind2012-08-135-5/+32
| | | | | Change-Id: I3efbd0c87c19c8ff2c382c56d2ca34bbe2e7033d Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Create platform plugin binary into the local plugins directory.Pier Luigi Fiorini2012-08-131-1/+1
| | | | | | | | | | | 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>
* Revert "Suppress QWindowSystemInterface inclusion warnings."Stephen Kelly2012-07-1811-11/+11
| | | | | | | | | This reverts commit c269b748bd1f14207cf600ad5cb75a21a5e824a4. QWindowSystemInterface is not part of QPA anymore. Change-Id: I372646bda5b4ea7f1ea2bcf775873b1596c07091 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Config tests for gl integrationJorgen Lind2012-07-171-50/+31
| | | | | Change-Id: Ie7d80e7591d11aa5df87ca5d5de4cd6c03928c83 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
* Update wayland shaJorgen Lind2012-07-063-12/+4
| | | | | Change-Id: Icf48c40b4d078b13c4132e52d351a22395d4ca76 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Fix QPA plugin metadata changeJorgen Lind2012-07-051-1/+1
| | | | | Change-Id: I4f56aba2d42f2f9b469bdcd8cf4312fee93ab911 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
* Suppress QWindowSystemInterface inclusion warnings.Girish Ramakrishnan2012-07-0311-11/+11
| | | | | | | | | | 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>
* build system cleanupsOswald Buddenhagen2012-06-271-1/+1
| | | | | | | | | | | | | | | - 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>
* switch to new-style configure testsOswald Buddenhagen2012-06-272-2/+2
| | | | | Change-Id: I70f4f4e81a042a977748dbb42b069b3706829828 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Set cloexec in shm bufferLaszlo Agocs2012-06-231-2/+8
| | | | | Change-Id: If3d1920fe253d3de43aeef77afeb92f7624c6ba0 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Destroy shell surfaces on client sideLaszlo Agocs2012-06-222-0/+6
| | | | | | | 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>
* Follow protocol changes in pointer attachLaszlo Agocs2012-06-195-18/+38
| | | | | Change-Id: I68b480b7feea814f79997c6a39e4567c3a990f47 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Fix broken handling of inactive transient surfacesLaszlo Agocs2012-06-181-1/+8
| | | | | | | | | 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>
* Fix global coordinate translation in clientsLaszlo Agocs2012-06-181-2/+2
| | | | | | | | 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>
* Map function keys properlyLaszlo Agocs2012-06-181-13/+10
| | | | | Change-Id: I3a13e0f05a3504e4d7b7f13c29ace139f88041e5 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Introduce standard pkg-config usageDonald Carr2012-06-111-27/+7
| | | | | | | | 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>
* Decouple application activation from onscreen_visibility.Gunnar Sletta2012-06-111-3/+0
| | | | | | | | | | | The application will be made active when it has focus. This is already handled in the qwaylandinputdevice.cpp's handling of input which posts window activation to Qt and internally Qt will send application activation when a window is in fact active. Change-Id: I5adb4c76830096bb362489b7de18ed188fbed05d Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Implemented orientationUpdateMask support in WaylandSurface.Samuel Rødal2012-06-064-0/+24
| | | | | | | Used to find out whether the client wants orientation updates. Change-Id: Ibefc98df7b346cbfe13cb021c932dab3d6c5d758 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Bump shaLaszlo Agocs2012-06-042-12/+60
| | | | | | | | | | | keyboard_modifiers is not yet sent from server side (in qt-compositor) on keyboard focus, this needs to be added later. Unfortunately the event is somewhat libxkbcommon-specific... Also move/removed some unused variables. Change-Id: Id971bdc3a0e217740593d23145fc4ebb27d99a06 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fix no-xkb buildLaszlo Agocs2012-06-011-1/+1
| | | | | Change-Id: I02b49ae845921d6b0eafc367849a99a0a7702ee9 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* added two missing #include <unistd.h> (for int close(int);)Thomas Senyk2012-05-301-0/+2
| | | | | Change-Id: I9f32108a9a5d758c8dd23be5d72900e7ea7c271b Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fixed client side issues due to threading bugs.Samuel Rødal2012-05-255-1/+21
| | | | | | | | | Our threading support depends on the hardware integration and on support in libwayland. Change-Id: Ic69bc4616e279c1986576d8c034db52402cb9c41 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
* Added config.test for brcm_egl.Samuel Rødal2012-05-211-2/+2
| | | | | Change-Id: Ia103645ba0823dc94b42578de1f1e39e7dd84956 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Use a lookup table instead of an incomplete switch when mapping keysLaszlo Agocs2012-05-211-39/+87
| | | | | Change-Id: Ie9b8325a2235ec1c2fe988f0e81efd241b1ef21b Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Position windows with transient parents properlyLaszlo Agocs2012-05-213-6/+11
| | | | | | | | | | | | | | | | Both the transient position calculation and the global mouse position had to be fixed. Combo box contents, menus, etc. will now all appear at the correct position. With qwindow-compositor they will keep the proper position even when the parent is moved via the decoration. Not sure how this could be achieved with weston as there is no notification when the window is dragged with Super+Mouse. Nevertheless the initial position will be correct. Change-Id: I66eca9faa930af71b9b540018d5057af7f5f22e5 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fix clipboard crash in clients with westonLaszlo Agocs2012-05-211-2/+7
| | | | | | | | | The offer passed to selection() can be null. This case was not handled before because it never happens with qt-compositor. Copy/paste is still not ok with weston but at least the apps won't crash. Change-Id: I91d529e9d8b179724637d05bb9b95ec5843bda2b Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fix stuck modifier keysLaszlo Agocs2012-05-212-27/+13
| | | | | | | | | | Storing the modifier state as a member is not needed. Updating it in the keyboard_enter does not make sense as the xkb state can only change in the key event handler. The logic for updating the modifiers was somewhat broken. Change-Id: I7d9378af6f3775a6954a9747cab0e93a549fa62a Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Make axis events compatible with WestonLaszlo Agocs2012-05-201-2/+4
| | | | | | | | From now on mouse wheel events will work both with qt-compositor and Weston. Change-Id: I54876cd45f3530ea9b4b7962ca52c0974e1cb2d5 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Register QTouchDevice only when the seat is touch-capableLaszlo Agocs2012-05-201-5/+8
| | | | | Change-Id: Ibddfaa2f07b9cd2eae2e133b01d4e5669ced2af8 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Migrate from wl_input_device to wl_seatLaszlo Agocs2012-05-205-278/+333
| | | | | Change-Id: I0d218c32478c2acce4d7012bdb26b0cde50ee633 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Implemented graceful quitting of clients.Samuel Rødal2012-05-194-1/+20
| | | | | | | Send a quit message to let the client shut down cleanly. Change-Id: I5f99c9b92341fdb5f1b171f6fe36f26bf8a47026 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* BRCM EGL integration to handle eglCreateGlobalImageBRCM.Samuel Rødal2012-05-188-0/+806
| | | | | | | | | For hardware accelerated multiprocess compositing on the raspberry pi. Change-Id: Ieb46aa7306587f89fea87098227a520f18f959a7 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
* Fixed context sharing in wayland_egl backend.Samuel Rødal2012-05-182-2/+21
| | | | | | | Properly implement isSharing() and isValid(). Change-Id: I7ec9bd8a1e6d4af87a418568f1d5d18a9153eafc Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>