summaryrefslogtreecommitdiffstats
path: root/jwxyz/jwxyz-timers.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-30 16:07:15 +0200
committerSimon Rettberg2019-07-30 16:07:15 +0200
commit813ac136e48f60d4c2b13e808107870dafcc4d52 (patch)
tree396a6c98276f6e9a04216933daebdf3af7b81d46 /jwxyz/jwxyz-timers.c
parentFlush X events before locking if we have an external ungrab command (diff)
parentUpdate to 5.43 (diff)
downloadxscreensaver-813ac136e48f60d4c2b13e808107870dafcc4d52.tar.gz
xscreensaver-813ac136e48f60d4c2b13e808107870dafcc4d52.tar.xz
xscreensaver-813ac136e48f60d4c2b13e808107870dafcc4d52.zip
Merge branch 'master' into openslx (5.43)
Diffstat (limited to 'jwxyz/jwxyz-timers.c')
-rw-r--r--jwxyz/jwxyz-timers.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/jwxyz/jwxyz-timers.c b/jwxyz/jwxyz-timers.c
index 67326b0..1e81ab8 100644
--- a/jwxyz/jwxyz-timers.c
+++ b/jwxyz/jwxyz-timers.c
@@ -200,7 +200,8 @@ XtAppAddInput (XtAppContext app, int fd, XtPointer flags,
data->app = app;
data->refcount++;
- LOGI("source 0x%08lX %2d: alloc", (unsigned long) data, data->fd);
+ LOGI("source 0x%08lX %2d: alloc 0x%08lX", (unsigned long) data, data->fd,
+ (unsigned long) closure);
ASSERT_RET0 (fd > 0 && fd < FD_SETSIZE, "fd out of range");
ASSERT_RET0 (td->ids[fd] == 0, "sources corrupted");
@@ -216,7 +217,8 @@ XtRemoveInput (XtInputId id)
{
jwxyz_sources_data *td = DISPLAY_SOURCES_DATA (id->app);
- LOGI("source 0x%08lX %2d: remove", (unsigned long) id, id->fd);
+ LOGI("source 0x%08lX %2d: remove 0x%08lX", (unsigned long) id, id->fd,
+ (unsigned long) id->closure);
ASSERT_RET (id->refcount > 0, "sources corrupted");
ASSERT_RET (td->fd_count > 0, "sources corrupted");
ASSERT_RET (id->fd > 0 && id->fd < FD_SETSIZE, "fd out of range");
@@ -226,8 +228,8 @@ XtRemoveInput (XtInputId id)
td->fd_count--;
id->refcount--;
- LOGI("source 0x%08lX %2d: release %d", (unsigned long) id, id->fd,
- id->refcount);
+ LOGI("source 0x%08lX %2d: release %d 0x%08lX", (unsigned long) id, id->fd,
+ id->refcount, (unsigned long) id->closure);
ASSERT_RET (id->refcount >= 0, "double free");
if (id->refcount == 0) {
memset (id, 0xA1, sizeof(*id));