mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
parent
9d2eb8483b
commit
662e06e68e
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -2377,7 +2377,7 @@ urgent(struct wl_listener *listener, void *data)
|
|||
{
|
||||
struct wlr_xdg_activation_v1_request_activate_event *event = data;
|
||||
Client *c = client_from_wlr_surface(event->surface);
|
||||
if (c != selclient()) {
|
||||
if (c && c != selclient()) {
|
||||
c->isurgent = 1;
|
||||
printstatus();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue