aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorAlexander Kuleshov2017-07-09 09:11:57 +0200
committerMartin Rudalics2017-07-09 09:11:57 +0200
commite15784fbbbd11f3c5edd5d64aa5529e7afbf2ec1 (patch)
tree664187641ffb6974d778d7126cbbae6f1d624725 /src/keyboard.c
parent9b8b73f61601962cf5db7a4098d88d48b1d8cc93 (diff)
downloademacs-e15784fbbbd11f3c5edd5d64aa5529e7afbf2ec1.tar.gz
emacs-e15784fbbbd11f3c5edd5d64aa5529e7afbf2ec1.zip
Define internal_border_parts for window systems only (Bug#27615)
* src/keyboard.c: (internal_border_parts): Define only when HAVE_WINDOW_SYSTEM is enabled. (Bug#27615)
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 9e90899c569..804af85dad9 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5127,6 +5127,7 @@ static short const scroll_bar_parts[] = {
5127 SYMBOL_INDEX (Qrightmost), SYMBOL_INDEX (Qend_scroll), SYMBOL_INDEX (Qratio) 5127 SYMBOL_INDEX (Qrightmost), SYMBOL_INDEX (Qend_scroll), SYMBOL_INDEX (Qratio)
5128}; 5128};
5129 5129
5130#ifdef HAVE_WINDOW_SYSTEM
5130/* An array of symbol indexes of internal border parts, indexed by an enum 5131/* An array of symbol indexes of internal border parts, indexed by an enum
5131 internal_border_part value. Note that Qnil corresponds to 5132 internal_border_part value. Note that Qnil corresponds to
5132 internal_border_part_none and should not appear in Lisp events. */ 5133 internal_border_part_none and should not appear in Lisp events. */
@@ -5137,6 +5138,7 @@ static short const internal_border_parts[] = {
5137 SYMBOL_INDEX (Qbottom_right_corner), SYMBOL_INDEX (Qbottom_edge), 5138 SYMBOL_INDEX (Qbottom_right_corner), SYMBOL_INDEX (Qbottom_edge),
5138 SYMBOL_INDEX (Qbottom_left_corner) 5139 SYMBOL_INDEX (Qbottom_left_corner)
5139}; 5140};
5141#endif
5140 5142
5141/* A vector, indexed by button number, giving the down-going location 5143/* A vector, indexed by button number, giving the down-going location
5142 of currently depressed buttons, both scroll bar and non-scroll bar. 5144 of currently depressed buttons, both scroll bar and non-scroll bar.