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

            Bug ID: 485266
           Summary: Feature Request/Question
    Classification: Plasma
           Product: kwin
           Version: master
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: lingtj...@hotmail.com
  Target Milestone: ---

VirtualDesktop provides a unique identifier
https://invent.kde.org/plasma/kwin/-/blob/master/src/virtualdesktops.h?ref_type=heads#L37

However Output does not? I assumed that the `serialNumber` property was unique
but apparently it is not. I'm now assuming the `name` property
https://invent.kde.org/plasma/kwin/-/blob/master/src/core/output.h?ref_type=heads#L136
to be unique, is that a correct assumption?

If not then I would suggest to implement a unique identifier to the Output
class for KWin scripting purposes in a similar fashion as VirtualDesktop
provides. This allows Scripting developers to more easily distinguish between
Outputs and find them back later again.

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

Reply via email to