Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50358

add peekEventQueue API

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.10.0 Alpha
    • None
    • Extras: X11
    • None

    Description

      This will make it simpler to port Qt4/Xlib based
      applications to Qt5 when Qt4 based application
      uses Xlib's event handling APIs directly such as:
      XNextEvent+XPutBackEvent and XPeekEvent. It
      is not possible to use those with Qt5 because
      we set XCB to be the owner of X event queue with:

      XSetEventQueueOwner(dpy, XCBOwnsEventQueue);

      Which means that only xcb event handling functions
      can be used to read events from X server. XCB does
      not have equivalents for the above mentioned Xlib APIs.
      peekEventQueue() adds this behavior to QX11Info.

      Attachments

        For Gerrit Dashboard: QTBUG-50358
        # Subject Branch Project Status CR V

        Activity

          People

            paeglis Gatis Paeglis
            paeglis Gatis Paeglis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes