Closed aspizu closed 1 year ago
Shod uses a hidden window to manage focus[1] and keep window manager information[2]. That window was supposed to be hidden...
Can you inform the values of XResources you are using and any modification you have made, if any, to the code? Can you also inform whether you are using a release of shod or a recent commit (and which commit)?
It is probably something related to the decoration size.
[1]: If no window has keyboard focus, the focus goes to the root window, which then redirects the keyboard focus to whatever window the pointer is on top of. In order for shod to have maximum control over the focus, and in order to implement the click-to-focus behavior, I use a "dummy" window that keeps the focus when nobody should have it.
[2]: EWMH requires the window manager to keep a window (be it mapped/visible or not) to inform clients that a EWMH-conforming window manager is active; this window also keeps the window manager's name (which can be fetched by utilities like wmctl
and neofetch
).
I am using the latest git commit.
~/.Xresources
*.faceName: Cascadia Code
*.faceSize: 16
shod.borderWidth: 8
shod.titleWidth: 24
shod.foreground: #89dceb
shod.activeBackground: #1e1e2e
shod.activeTopShadowColor: #313244
shod.activeBottomShadowColor: #11111b
shod.inactiveBackground: #1e1e2e
shod.inactiveTopShadowColor: #313244
shod.inactiveBottomShadowColor: #11111b
shod.moveTime: 8
shod.resizeTime: 8
It seems to not happen all the time.
This is also happening for me in commit 160b1a4.
Xresources:
shod.moveTime: 16
shod.resizeTime: 16
shod.numOfDesktops: 10
shod.snapProximity: 8
shod.borderWidth: 10
shod.titleWidth: 17
shod.foreground: #101010
shod.shadowThickness: 2
shod.activeBackground: #49acaa
shod.activeTopShadowColor: #61e5e2
shod.activeBottomShadowColor: #183938
shod.urgentBackground: #a33c3d
shod.urgentTopShadowColor: #d95051
shod.urgentBottomShadowColor: #361414
shod.inactiveBackground: #493b5e
shod.inactiveTopShadowColor: #6d588d
shod.inactiveBottomShadowColor: #30273f
shod.dockGravity: N
shod.dockBackground: #101010
shod.dockBorder: #101010
shod.dockSpace: 1
shod.dockWidth: 64
shod.Lutris.*.*.desktop: 1
shod.Lutris.*.*.state: maximized
shod.retroarch.*.*.desktop: 1
shod.steam.*.*.desktop: 1
shod.discord.*.*.desktop: 5
shod.discord.*.*.state: maximized
shod.Hexchat.*.*.desktop: 5
shod.Plover.*.*.desktop: 6
shod.Plover.*.*.state: maximized
shod.qBittorrent.*.*.desktop: 10
shod.qBittorrent.*.*.state: maximized
thank you
The bug was introduced in 4b8a5cd929c663cf98c3756cdaee4503d2e3f582, and is fixed by the last commit, 8544fa4fbb0fa9746fcec56ad5f8e756fdcc8f6c.
More information on the bug on the commit message.
I tried
xprop
ing it, returns class "shod". I triedxkill
ing it, does nothing, doesn't even kill shod.