Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48646 New Qt Wayland Compositor API
  3. QTBUG-49750

Qt Wayland Compositor input handling API review

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P1: Critical
    • None
    • None
    • None

    Description

      Input classes need API review.

      • We should find another way than having factory functions, maybe having a default, which can be replaced by another instance of QWaylandInputDevice/Pointer/Keybaord
      • Serial handling needs a work over. We need to store the state of the different "implicit grabs" with the serial. Also adding type safety by having a serial type in the QtWaylandScanner would be nice. Paul had an idea of returning a serial from functions that generate one. Currently we have a mix of timeInMSecs and nextSerial which is completely wrong.
      • Input apis are receiving QWaylandViews instead of QWaylandSurfaces. This made some sense once upon a time, but is wrong now, and we should just use QWaylandSurface.
      • Make QWaylandKeymap available to QML compositors (inherit from QObject and add properties) and easily switch between keymaps for a given seat.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tvete Paul Olav Tvete
            tvete Paul Olav Tvete
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes