The grab bar didn't move the window by mouse, and the corner grip never resized it (the bar's handler took over its drag). The bar and grip now start the window manager's move/resize, and Super+LMB/RMB work too. A KWin rule in kwinrulesrc keeps the window above and unfocused, off the taskbar, pager and switcher, and remembers its position. KWin now places the window and keeps it on screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
349 B
C
10 lines
349 B
C
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
// Adds (or repairs) a KWin window rule for the keyboard's app id in
|
|
// kwinrulesrc: keep above, never take focus, skip taskbar/pager/switcher,
|
|
// remember the position. Wayland gives clients no other way to stay
|
|
// unfocused. Reloads KWin's rules when anything changed.
|
|
void installKWinRule(const QString &appId);
|