summaryrefslogtreecommitdiff
path: root/src/xsmfns.c
diff options
context:
space:
mode:
authordickmao <none>2021-05-13 15:21:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-05-13 15:22:01 +0200
commit5be26b43f441e429dadbf7c8beccb351a84f1275 (patch)
treebcfe58ae897cb1962890527509b6d9f8cbeb8217 /src/xsmfns.c
parent1aaceec93173fd98c25dfe282b2fa2030ccf14f0 (diff)
downloademacs-5be26b43f441e429dadbf7c8beccb351a84f1275.tar.gz
Process sentinels need to work under X and commandline
* src/process.c (add_non_keyboard_read_fd): Make this a public function. (add_process_read_fd): Fold old, static add_non_keyboard_read_fd guts into here. * src/xsmfns.c (ice_conn_watch_CB): Call add_non_keyboard_read_fd (bug#43834).
Diffstat (limited to 'src/xsmfns.c')
-rw-r--r--src/xsmfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsmfns.c b/src/xsmfns.c
index 10565a4b25f..ddb86d82fe1 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -357,7 +357,7 @@ ice_conn_watch_CB (IceConn iceConn, IcePointer clientData,
}
ice_fd = IceConnectionNumber (iceConn);
- add_read_fd (ice_fd, x_session_check_input, NULL);
+ add_non_keyboard_read_fd (ice_fd, x_session_check_input, NULL);
}
/* Create the client leader window. */