awesomeWM / awesome

awesome window manager

Home Page:https://awesomewm.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`urgent = false` not working

micangl opened this issue · comments

Output of awesome --version:

awesome v4.3 (Too long)
 • Compiled against Lua 5.3.6 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2

How to reproduce the issue:

Launch client which supports the startup notification protocol with awful.spawn, whilst setting the urgent property to false:

awesome-client 'require("awful.spawn").spawn("firefox", { urgent = false, tag = "8" })'

Actual result:

Firefox is spawned on tag 8 - as expected - but the tag icon still turns red, thus indicating that the client's urgent property must be true.

Expected result:

Firefox is spawned on tag 8, but the tag icon doesn't turn red (meaning that the client is not urgent).

i think it's raise in this case, not urgent

I've tried swapping urgent with raise, hence running

awesome-client 'require("awful.spawn").spawn("firefox", { raise = false, tag = "8" })'

Unfortunately, it didn't work.

i've tested - it indeed works in the rules but the same not working as spawn args