Merge pull request #2287 from RyanDwyer/superfluous-urgent-events
Remove superfluous IPC urgent events
This commit is contained in:
commit
9c8d73dad6
1 changed files with 3 additions and 0 deletions
|
@ -1080,6 +1080,9 @@ bool view_is_visible(struct sway_view *view) {
|
|||
}
|
||||
|
||||
void view_set_urgent(struct sway_view *view, bool enable) {
|
||||
if (view_is_urgent(view) == enable) {
|
||||
return;
|
||||
}
|
||||
if (enable) {
|
||||
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
||||
if (seat_get_focus(seat) == view->swayc) {
|
||||
|
|
Loading…
Add table
Reference in a new issue