mihirlad55 / polybar-dwm-module

A dwm module for polybar
MIT License
116 stars 15 forks source link

Crash when steam is closed #36

Closed aakodadi closed 2 years ago

aakodadi commented 2 years ago

Checklist

Describe the bug

When steam is closed, polybar is still running correctly, but the dwm module disappears. Closing here means closing it completely, not just clicking the x and leaving it in the tray.

Expected behavior: dwm module crashes and disappears.

Actual behavior: dwm module should not crash.

Was it working before?

To Reproduce

Start steam and close it by clicking: Steam > Exit

Polybar Log

polybar|notice:  Parsing config file: /home/aakodadi/.config/polybar/config
polybar|notice:  pulseaudio: using default sink alsa_output.pci-0000_27_00.6.analog-stereo
polybar|notice:  Loaded font "Liberation Mono:size=10" (name=Liberation Mono, offset=1, file=/usr/share/fonts/liberation/LiberationMono-Regular.ttf)
polybar|notice:  Loaded font "Font Awesome 6 Free:size=10" (name=Font Awesome 6 Free, offset=1, file=/usr/share/fonts/TTF/fa-regular-400.ttf)
polybar|notice:  Loaded font "Font Awesome 6 Free:style=Solid:size=10" (name=Font Awesome 6 Free, offset=1, file=/usr/share/fonts/TTF/fa-solid-900.ttf)
polybar|notice:  Loaded font "Font Awesome 6 Brands:size=10" (name=Font Awesome 6 Brands, offset=1, file=/usr/share/fonts/TTF/fa-brands-400.ttf)
polybar|error: module/dwm: [dwmipcpp] Client with window id 27263019 not found
polybar|notice:  Stopping 'module/dwm'...

Screenshots

Before closing steam Image

After closing steam Image

Environment:

polybar 3.5.2-100-g0c3e139a

Features: +alsa +curl +dwm +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 

Additional context

I installed polybar-dwm-module from the AUR

aakodadi commented 2 years ago

Duplicate of #26