https://bugs.kde.org/show_bug.cgi?id=431023

            Bug ID: 431023
           Summary: [patch] KWindowSystem does not respect the selected
                    X11 screen
           Product: frameworks-kwindowsystem
           Version: 5.77.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: j...@jlindgren.net
  Target Milestone: ---

Created attachment 134431
  --> https://bugs.kde.org/attachment.cgi?id=134431&action=edit
xcb: Work with the active screen as reported by QX11Info::appScreen().

SUMMARY

On a traditional X11 multi-head setup (e.g. two screens ":0.0" and ":0.1"
active), KWindowSystem ignores the screen it is run on and enumerates/manages
windows on screen #0.

The fix is pretty simple as it's just a matter of passing the correct screen
number to NETRootInfo::NETRootInfo().

STEPS TO REPRODUCE
1. export DISPLAY=:0.1
2. run https://github.com/jlindgren90/qmpanel

OBSERVED RESULT
qmpanel lists the windows on screen #0

EXPECTED RESULT
qmpanel should list the windows on screen #1

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to