1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-13 12:25:53 +01:00

- Fixed some compilation problems, which could lead to sigsegv at run time in

the new 'bag' code.
- Fixed PPosition problem.
This commit is contained in:
dan
1999-09-16 21:52:18 +00:00
parent ac4053478a
commit 8747093e64
33 changed files with 36 additions and 36 deletions

View File

@@ -440,7 +440,7 @@ WMDequeueNotificationMatching(WMNotificationQueue *queue,
for (i = 0; i < WMGetBagItemCount(queue->asapQueue); i++) {
tmp = WMGetFromBag(queue->asapQueue, i);
if (strcmp(notification->name, tmp) == 0) {
if (strcmp(notification->name, tmp->name) == 0) {
WMRemoveFromBag(queue->asapQueue, tmp);
WMReleaseNotification(tmp);
break;
@@ -449,7 +449,7 @@ WMDequeueNotificationMatching(WMNotificationQueue *queue,
for (i = 0; i < WMGetBagItemCount(queue->idleQueue); i++) {
tmp = WMGetFromBag(queue->idleQueue, i);
if (strcmp(notification->name, tmp) == 0) {
if (strcmp(notification->name, tmp->name) == 0) {
WMRemoveFromBag(queue->idleQueue, tmp);
WMReleaseNotification(tmp);
break;