Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT5 based Linux Window Manager

QT5 based Linux Window Manager

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 3.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DalePennington
    wrote on last edited by
    #1

    Folks,

    We have an existing kiok-style application suite written in QT4. For our requirements we had to create a custom window manager.

    Now we are trying to port to QT5, which totally changed the event filtering from X11 to XCB. And we are trying to figure out how to handle this in our window manager.

    So I am looking for one of two things. Either

    1. An existing Linux Window Manager written in QT5 (that would give us a good example to work off of). -or-
    2. A XCB to X11 event mapping. I am given to understand modern X11 libs are build on top of XCB, but so far have not found a good map on my own. Basically I need to figure out what XCB event(s) correspond to the X11 events we are currently filtering.

    Thanks,
    Dale Pennington

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      On the big iron side, you have KDE which is written with Qt so you might want to check there. KWin comes to mind.

      LXQt might also be of interest to you.

      As an alternative, the future seems to look at wayland and Qt already has module for it.

      Out of curiosity, why did you not use QWS with Qt 4 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • D Offline
        D Offline
        DalePennington
        wrote on last edited by DalePennington
        #3

        Unfortunately those involved in the decision are no longer associated with the project. Part of the fun is figuring out what they did and why.

        Also I just looked at LXQt and it explicitly does not provide a window manager, which is the part we are doing.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DalePennington
          wrote on last edited by
          #4

          Looked at the KWin source. Although much more sophisticated than what we need, it does show clear examples of handling the XCB events. Also, since the repository is online, we could get an older version that used QT4, so it clearly shows what is needed do the port.

          Thanks for the pointer.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @DalePennington said in QT5 based Linux Window Manager:

            Also I just looked at LXQt and it explicitly does not provide a window manager, which is the part we are doing.

            Right ! It's the desktop environment, sorry for the confusion.

            As for KWin, you might also want to check the Plasma shell, it may offer some interesting ideas.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved