projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe80d24
)
Fix unused variable warning in xfns.c
author
Stefan Kangas
<stefan@marxist.se>
Sat, 25 Dec 2021 15:41:06 +0000
(16:41 +0100)
committer
Stefan Kangas
<stefan@marxist.se>
Sat, 25 Dec 2021 15:41:06 +0000
(16:41 +0100)
* src/xfns.c (Fx_server_input_version): Fix unused variable
warning.
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index f911f9898a5ffb5707e1cd49ab9b9a21acb85478..126e837b43cccb1363ea42a08b254b5f661af6e0 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-4516,9
+4516,9
@@
major and minor versions of the X Input Extension extension running on
that server. */)
(Lisp_Object terminal)
{
+#ifdef HAVE_XINPUT2
struct x_display_info *dpyinfo = check_x_display_info (terminal);
-#ifdef HAVE_XINPUT2
return (dpyinfo->supports_xi2
? list2i (2, dpyinfo->xi2_version)
: Qnil);