[feature request] When borders are turned off for the active window, add a thin colored border around it
When borders are turned off for the windows, it's very difficult to see which one is active. It would be nice to add a very thing colored border around the active window if its borders are turned off (that's how it works in xmonad).
Unfortunately kwin doesn't provide anything we can use for this - there's the ability to show an outline, but that darkens the active window and (more importantly) blocks it from receiving mouse input.
So...I'm sorry, but it's currently unfixable on my end. The best workaround I've found so far is the "darken inactive windows" effect.
What might work is just gaps (with maybe a colorful background). See https://github.com/faho/kwin-tiling/tree/gaps
I've had another look at this, and it turns out it may be possible with qml, though I don't know it yet.
So... time to get reading.
So, I've finally drawn something on screen with QML, but I only got it working in Plasma 5, and even then only without compositing.
What I need to do now is:
- Remove the filling/draw borders only, not a complete filled rectangle
- Hook it up to the logic
- Get it to appear with compositing
- Backport it to Plasma 4
I think some ideas/code might be taken from Aurorae window decorations – https://store.kde.org/browse/cat/114/. Martin Gräßlin's blog posts about Aurorae engine – https://blog.martin-graesslin.com/blog/tag/aurorae/
Also, it seems like backporting to Plasma 4 could be dropped from the list.
I don't think this would ever work properly. The best you can do right now is to enable gaps and keep window borders.