aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'x.c')
-rw-r--r--x.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/x.c b/x.c
index e267961..cb8c351 100644
--- a/x.c
+++ b/x.c
@@ -20,6 +20,25 @@ static char *argv0;
20#include "st.h" 20#include "st.h"
21#include "win.h" 21#include "win.h"
22 22
23/* function definitions used in config.h */
24static void clipcopy(const Arg *);
25static void clippaste(const Arg *);
26static void selpaste(const Arg *);
27static void zoom(const Arg *);
28static void zoomabs(const Arg *);
29static void zoomreset(const Arg *);
30
31/* config.h for applying patches and the configuration. */
32#include "config.h"
33
34/* config.h array lengths */
35size_t colornamelen = LEN(colorname);
36size_t mshortcutslen = LEN(mshortcuts);
37size_t shortcutslen = LEN(shortcuts);
38size_t selmaskslen = LEN(selmasks);
39size_t keyslen = LEN(key);
40size_t mappedkeyslen = LEN(mappedkeys);
41
23/* XEMBED messages */ 42/* XEMBED messages */
24#define XEMBED_FOCUS_IN 4 43#define XEMBED_FOCUS_IN 4
25#define XEMBED_FOCUS_OUT 5 44#define XEMBED_FOCUS_OUT 5
@@ -189,6 +208,24 @@ static char *opt_name = NULL;
189static char *opt_title = NULL; 208static char *opt_title = NULL;
190 209
191void 210void
211clipcopy(const Arg *dummy)
212{
213 xclipcopy();
214}
215
216void
217clippaste(const Arg *dummy)
218{
219 xclippaste();
220}
221
222void
223selpaste(const Arg *dummy)
224{
225 xselpaste();
226}
227
228void
192zoom(const Arg *arg) 229zoom(const Arg *arg)
193{ 230{
194 Arg larg; 231 Arg larg;