Bug 263082

Summary: www/firefox does not respect x11-wm/dwm config.h
Product: Ports & Packages Reporter: jakub_lach
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: 0mp, gecko
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description jakub_lach 2022-04-06 11:34:27 UTC
Since update to 97.0 (?) spawned Firfox does not respect tags set in dwm's config.h -



static const Rule rules[] = {
        /* class      instance    title       tags mask     isfloating   monitor */

        { "Firefox",   NULL,       NULL,       2,           False,       -1 },


 - Firefox is tagged '1' by default.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2022-04-06 20:40:58 UTC
Thanks for the report. Please notify the dwm developers about the issue with the example setting. This is most likely not FreeBSD-specific.

This is the class reported by xprop in my case (Firefox 98.0.1,2):

$ xprop WM_CLASS
WM_CLASS(STRING) = "Navigator", "firefox"
Comment 2 jakub_lach 2022-04-07 06:33:29 UTC
(In reply to Mateusz Piotrowski from comment #1)

Thank you for an idea - it appears either dwm is now case sensitive, or Firefox has changed those - 

static const Rule rules[] = {
        /* class      instance    title       tags mask     isfloating   monitor */

        { "firefox",   NULL,       NULL,       2,           False,       -1 },

works as expected.
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2022-04-07 08:46:03 UTC
I'd say that everything works as intended. dwm should most likely change its example so that this confusion can be resolved.