mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-12 03:35:52 +01:00
new/changelog fix
This commit is contained in:
@@ -181,7 +181,8 @@ WMPostNotification(WMNotification *notification)
|
||||
while (orec) {
|
||||
tmp = orec->next;
|
||||
|
||||
if (!orec->object || orec->object == notification->object) {
|
||||
if (!orec->object || !notification->object
|
||||
|| orec->object == notification->object) {
|
||||
/* tell the observer */
|
||||
if (orec->observerAction) {
|
||||
(*orec->observerAction)(orec->observer, notification);
|
||||
|
||||
Reference in New Issue
Block a user