From 32ca35a546f60fadb2dcb143c6ecc9f06b7cfb98 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Sun, 10 Nov 2019 12:06:26 +0100 Subject: [PATCH] #308 properly trigger window_destroyed signal --- CHANGELOG.md | 2 ++ doc/yabai.1 | 4 ++-- src/event.c | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cfd7a41..ce9f9e65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Fix regression causing window_destroyed signal to not be triggered (after adding app and title filter) [#308](https://github.com/koekeishiya/yabai/issues/308) ## [2.1.2] - 2019-11-10 ### Changed diff --git a/doc/yabai.1 b/doc/yabai.1 index 56405e8e..fb204bfd 100644 --- a/doc/yabai.1 +++ b/doc/yabai.1 @@ -2,12 +2,12 @@ .\" Title: yabai .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.10 -.\" Date: 2019-11-09 +.\" Date: 2019-11-10 .\" Manual: Yabai Manual .\" Source: Yabai .\" Language: English .\" -.TH "YABAI" "1" "2019-11-09" "Yabai" "Yabai Manual" +.TH "YABAI" "1" "2019-11-10" "Yabai" "Yabai Manual" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 diff --git a/src/event.c b/src/event.c index b88ce832..94bdcd52 100644 --- a/src/event.c +++ b/src/event.c @@ -33,7 +33,6 @@ static bool event_signal_filter(struct signal *signal, enum event_type type, str return regex_match(signal->app_regex_valid, &signal->app_regex, application->name) == REGEX_MATCH_NO; } break; case WINDOW_CREATED: - case WINDOW_DESTROYED: case WINDOW_FOCUSED: case WINDOW_MOVED: case WINDOW_RESIZED: