glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3wm.
GNU General Public License v3.0
5.51k stars 159 forks source link

Ignore hidden window (Lively Wallpaper compatibility) #629

Closed rocksdanister closed 1 month ago

rocksdanister commented 3 months ago

Issue: https://github.com/rocksdanister/lively/issues/2303

Lively Wallpaper creates two windows for listening to mouse/keyboard RAWINPUT and system messages. They are hidden and opened outside monitor region with taskbar icons disabled but GlazeWM seems to pick it up.

image

I think these types of window should be skipped by default? there is a similar issue: https://github.com/glzr-io/glazewm/issues/550

ParasiteDelta commented 2 months ago

Have you tried adding these to an ignore rule in your config.yaml? That would help solidify this as an issue. Tedious, I know, but at least we have the ability to do it.

Example, if needed:

- command: "ignore"
  match_title: "/Lively WndProc/"

You can further refine the rule, as rules are additive in GWM currently. So, you could possibly add on something like this to the example: match_class_name: "/Lively/"

Be sure to post what you did and the results here so we know.

rocksdanister commented 2 months ago

@seanpden

seanpden commented 2 months ago

Sorry for the inactivity. I did end up ignoring it in the config file, basic matches did not work so I just started spamming possible matches and it was properly ignored. Snippet of my ignores below:

  - command: "ignore"
    match_process_name: "...|Lively.UI.WinUI.exe|Lively.exe|[Ll]ively.*"
    match_title: "...|Lively WndProc|Lively WndProc (Input)|[Ll]ively.*|[Ll]ively Wallpaper|Lively"
lars-berger commented 1 month ago

Added a default window rule for this in v3 👌 Latest release