Download raw body.
dwm no longer puts firefox on 9
Le Tue, Apr 29, 2025 at 01:13:48AM -0400, Ted Unangst a écrit :
> dwm is supposed to put Firefox windows on the ninth tab.
>
> /* xprop(1):
> * WM_CLASS(STRING) = instance, class
> * WM_NAME(STRING) = title
> */
> /* class instance title tags mask isfloating monitor */
> { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
>
> However, recent firefox versions report this in xprop:
>
> WM_CLASS(STRING) = "Navigator", "firefox"
i looked quickly and havent found a 'recent' related change in firefox
itself. And especially since
/usr/local/share/applications/firefox.desktop has StartupWMClass=firefox
i dont see where this 'Navigator' thing can come from. Maybe that's
Gtk3+ adding it, based on .. something else ? not much found in
firefox code itself: https://searchfox.org/mozilla-central/search?q=%22Navigator%22&path=&case=false®exp=false
trying the gtk universal args, firefox --class foo gives WM_CLASS(STRING)
= "Navigator", "Foo" so that doesnt help. --name doesnt help either.
looking on the interwebs with 'navigator wm_class' gives me this
https://unix.stackexchange.com/questions/741151/dont-set-wm-class-of-navigator-when-starting-firefox
but that doesnt really help, and ofc that depends on wether you click on
a desktop file or not.
gtk misteries..
Landry
dwm no longer puts firefox on 9