emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c56e05b: Make XInput 2 builds work without cairo


From: Po Lu
Subject: master c56e05b: Make XInput 2 builds work without cairo
Date: Fri, 26 Nov 2021 05:42:40 -0500 (EST)

branch: master
commit c56e05b968d437b807a194ecdcd308b045143846
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Make XInput 2 builds work without cairo
    
    * src/xterm.c: Move some defines around so XI2 code doesn't
    get ifdef'd out if Cairo is disabled.
---
 src/xterm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index 0a3aeee..821c92c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -345,6 +345,7 @@ x_extension_initialize (struct x_display_info *dpyinfo)
   dpyinfo->ext_codes = ext_codes;
 }
 
+#endif /* HAVE_CAIRO */
 
 #ifdef HAVE_XINPUT2
 
@@ -564,6 +565,8 @@ xi_reset_scroll_valuators_for_device_id (struct 
x_display_info *dpyinfo, int id)
 
 #endif
 
+#ifdef USE_CAIRO
+
 void
 x_cr_destroy_frame_context (struct frame *f)
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]