LingmoOS / LingmoOS/lingmo-kwin-plugins

feat: support windows property retrieving using KWin workspace API

Open
#22 0 comments 0 reactions 1 assignee View on GitHub

@elysia-best is already working on this.

Since Mar 10, 2025.

enhancement
Dominant language
C++
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I'm submitting a ...

feature request

What is the current behavior?

In wayland, Qt app have no direct access to window properties. These information can only be retrived from KWin side, i.e. the compositor.

More specifically, one window's property can be retrived by accessing the KWin::Window class's property, internalId. Having this id, the window's property can be easily accessed by calling the getWindowInfo(id) function provided by the DBus interface of KWin, or accessing them inside the plugin directly.

In this plugin, a dbus API for inquiring one windows's internalId is needed as a minimum option.

For information about writing KWin plugin, see: https://github.com/KDE/kwin/tree/master/examples/plugin

For KWin Scripting API, see https://develop.kde.org/docs/plasma/kwin/api/

Other information

After doing this, corresponding function in LingmoUI should also change.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.