Mercurial > emacs
comparison src/xselect.c @ 85876:762d3b6b64a3
Remove HAVE_X11R5 and HAVE_X11R4.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Thu, 01 Nov 2007 07:41:59 +0000 |
parents | f7d19cfed7da |
children | 107ccd98fa12 880960b70474 |
comparison
equal
deleted
inserted
replaced
85875:fd9c2b6d11cb | 85876:762d3b6b64a3 |
---|---|
138 emacs to use incremental selection transfers when the selection is | 138 emacs to use incremental selection transfers when the selection is |
139 smaller than that, set this. I added this mostly for debugging the | 139 smaller than that, set this. I added this mostly for debugging the |
140 incremental transfer stuff, but it might improve server performance. */ | 140 incremental transfer stuff, but it might improve server performance. */ |
141 #define MAX_SELECTION_QUANTUM 0xFFFFFF | 141 #define MAX_SELECTION_QUANTUM 0xFFFFFF |
142 | 142 |
143 #ifdef HAVE_X11R4 | |
144 #define SELECTION_QUANTUM(dpy) ((XMaxRequestSize(dpy) << 2) - 100) | 143 #define SELECTION_QUANTUM(dpy) ((XMaxRequestSize(dpy) << 2) - 100) |
145 #else | |
146 #define SELECTION_QUANTUM(dpy) (((dpy)->max_request_size << 2) - 100) | |
147 #endif | |
148 | 144 |
149 /* The timestamp of the last input event Emacs received from the X server. */ | 145 /* The timestamp of the last input event Emacs received from the X server. */ |
150 /* Defined in keyboard.c. */ | 146 /* Defined in keyboard.c. */ |
151 extern unsigned long last_event_timestamp; | 147 extern unsigned long last_event_timestamp; |
152 | 148 |