|
|
@ -1086,6 +1086,9 @@ bool view_is_visible(struct sway_view *view) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void view_set_urgent(struct sway_view *view, bool enable) {
|
|
|
|
void view_set_urgent(struct sway_view *view, bool enable) {
|
|
|
|
|
|
|
|
if (view_is_urgent(view) == enable) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (enable) {
|
|
|
|
if (enable) {
|
|
|
|
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
|
|
|
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
|
|
|
if (seat_get_focus(seat) == view->swayc) {
|
|
|
|
if (seat_get_focus(seat) == view->swayc) {
|
|
|
|