* keysyms.
*
*/
+#include <config.h>
+
#if defined(__FreeBSD__)
#include <sys/param.h>
#endif
* i3-dump-log/main.c: Dumps the i3 SHM log to stdout.
*
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdbool.h>
#include <sys/types.h>
#pragma once
+#include <config.h>
+
#include <err.h>
#define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
* to i3.
*
*/
+#include "libi3.h"
+
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
#include "i3-input.h"
-#include "libi3.h"
-
/* IPC format string. %s will be replaced with what the user entered, then
* the command will be sent to i3 */
static char *format;
* Additionally, it’s even useful sometimes :-).
*
*/
+#include "libi3.h"
+
#include <stdio.h>
#include <stdbool.h>
#include <sys/types.h>
#include <xcb/xcb.h>
#include <xcb/xcb_aux.h>
-#include "libi3.h"
#include <i3/ipc.h>
static char *socket_path;
#pragma once
+#include <config.h>
+
#include <err.h>
#define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
* when the user has an error in their configuration file.
*
*/
+#include "libi3.h"
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <xcb/randr.h>
#include <xcb/xcb_cursor.h>
-#include "libi3.h"
#include "i3-nagbar.h"
/** This is the equivalent of XC_left_ptr. I’m not sure why xcb doesn’t have a
*/
#pragma once
+#include <config.h>
+
#include <stdbool.h>
#define STDIN_CHUNK_SIZE 1024
*/
#pragma once
+#include <config.h>
+
#include <stdbool.h>
#include <xcb/xcb.h>
#include <xcb/xproto.h>
*/
#pragma once
+#include <config.h>
+
#include "common.h"
typedef enum {
*/
#pragma once
+#include <config.h>
+
#include <stdint.h>
/*
*/
#pragma once
+#include <config.h>
+
#include <xcb/xproto.h>
#include "common.h"
*/
#pragma once
+#include <config.h>
+
#include <xcb/xcb.h>
#include <cairo/cairo-xcb.h>
*/
#pragma once
+#include <config.h>
+
#include <stdint.h>
/**
*/
#pragma once
+#include <config.h>
+
#include "queue.h"
/* Get the maximum/minimum of x and y */
*/
#pragma once
-#include <xcb/xproto.h>
-
#include "common.h"
+#include <xcb/xproto.h>
+
typedef struct i3_ws i3_ws;
TAILQ_HEAD(ws_head, i3_ws);
*/
#pragma once
+#include <config.h>
+
#include <stdint.h>
//#include "outputs.h"
* child.c: Getting input for the statusline
*
*/
+#include "common.h"
+
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <yajl/yajl_gen.h>
#include <paths.h>
-#include "common.h"
-
/* Global variables for child_*() */
i3bar_child child;
* config.c: Parses the configuration (received from i3).
*
*/
+#include "common.h"
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <X11/Xlib.h>
-#include "common.h"
-
static char *cur_key;
static bool parsing_bindings;
static bool parsing_tray_outputs;
* ipc.c: Communicating with i3
*
*/
+#include "common.h"
+
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sanitizer/lsan_interface.h>
#endif
-#include "common.h"
-
ev_io *i3_connection;
const char *sock_path;
* © 2010 Axel Wagner and contributors (see also: LICENSE)
*
*/
+#include "common.h"
+
#include <stdio.h>
#include <i3/ipc.h>
#include <string.h>
#include <getopt.h>
#include <glob.h>
-#include "common.h"
-
/*
* Having verboselog(), errorlog() and debuglog() is necessary when using libi3.
*
* mode.c: Handle mode event and show current binding mode in the bar
*
*/
+#include "common.h"
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_version.h>
-#include "common.h"
-
/* A datatype to pass through the callbacks to save the state */
struct mode_json_params {
char *json;
* outputs.c: Maintaining the outputs list
*
*/
+#include "common.h"
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_version.h>
-#include "common.h"
-
/* A datatype to pass through the callbacks to save the state */
struct outputs_json_params {
struct outputs_head *outputs;
* protocol version and features.
*
*/
+#include "common.h"
+
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_version.h>
-#include "common.h"
-
static enum {
KEY_VERSION,
KEY_STOP_SIGNAL,
* workspaces.c: Maintaining the workspace lists
*
*/
+#include "common.h"
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_version.h>
-#include "common.h"
-
/* A datatype to pass through the callbacks to save the state */
struct workspaces_json_params {
struct ws_head *workspaces;
* xcb.c: Communicating with X
*
*/
+#include "common.h"
+
#include <xcb/xcb.h>
#include <xcb/xkb.h>
#include <xcb/xproto.h>
#include <sanitizer/lsan_interface.h>
#endif
-#include "common.h"
#include "libi3.h"
/** This is the equivalent of XC_left_ptr. I’m not sure why xcb doesn’t have a
* compile-time.
*
*/
-#ifndef I3_ALL_H
-#define I3_ALL_H
+#pragma once
+
+#include <config.h>
#include <assert.h>
#include <stdbool.h>
#include "display_version.h"
#include "restore_layout.h"
#include "main.h"
-
-#endif
*/
#pragma once
+#include <config.h>
+
/**
* Checks the list of assignments for the given window and runs all matching
* ones (unless they have already been run for this specific window).
*/
#pragma once
+#include <config.h>
+
extern pid_t command_error_nagbar_pid;
/**
*/
#pragma once
+#include <config.h>
+
/**
* The button press X callback. This function determines whether the floating
* modifier is pressed and where the user clicked (decoration, border, inside
*/
#pragma once
+#include <config.h>
+
char *parse_cmd(const char *new);
*/
#pragma once
+#include <config.h>
+
#include "commands_parser.h"
/** The beginning of the prototype for every cmd_ function. */
*/
#pragma once
+#include <config.h>
+
#include <yajl/yajl_gen.h>
/*
*/
#pragma once
+#include <config.h>
+
/**
* Create a new container (and attach it to the given parent, if not NULL).
* This function only initializes the data structures.
*/
#pragma once
+#include <config.h>
+
#include "config_parser.h"
/**
*/
#pragma once
+#include <config.h>
+
#include <yajl/yajl_gen.h>
SLIST_HEAD(variables_head, Variable);
*/
#pragma once
+#include "libi3.h"
+
#include <stdbool.h>
#include "queue.h"
#include "i3.h"
-#include "libi3.h"
typedef struct Config Config;
typedef struct Barconfig Barconfig;
*/
#pragma once
+#include "libi3.h"
+
#define SN_API_NOT_YET_FROZEN 1
#include <libsn/sn-launcher.h>
#include <pcre.h>
#include <sys/time.h>
-#include "libi3.h"
#include "queue.h"
/*
*/
#pragma once
+#include <config.h>
+
int handle_event(void *ignored, xcb_connection_t *c, xcb_generic_event_t *e);
*/
#pragma once
+#include <config.h>
+
/**
* Connects to i3 to find out the currently running version. Useful since it
* might be different from the version compiled into this binary (maybe the
*/
#pragma once
+#include <config.h>
+
/**
* Updates _NET_CURRENT_DESKTOP with the current desktop number.
*
*/
#pragma once
+#include <config.h>
+
/**
* Creates outputs according to the given specification.
* The specification must be in the format wxh+x+y, for example 1024x768+0+0,
*/
#pragma once
+#include <config.h>
+
#include "tree.h"
/** Callback for dragging */
*/
#pragma once
+#include <config.h>
+
#include <xcb/randr.h>
extern int randr_base;
*/
#pragma once
+#include <config.h>
+
#include <sys/time.h>
#include <sys/resource.h>
*/
#pragma once
+#include <config.h>
+
#include <ev.h>
#include <stdbool.h>
#include <yajl/yajl_gen.h>
*/
#pragma once
+#include <config.h>
+
/**
* There was a key press. We compare this key code with our bindings table and pass
* the bound action to parse_command().
*/
#pragma once
+#include <config.h>
+
#include <stdbool.h>
#include <stdarg.h>
#include <stdio.h>
*/
#pragma once
+#include <config.h>
+
typedef enum {
// We could not determine the content of the JSON file. This typically
// means it’s unreadable or contains garbage.
*/
#pragma once
+#include <config.h>
+
#include <stdarg.h>
#include <stdbool.h>
*/
#pragma once
+#include <config.h>
+
/**
* Enable or disable the main X11 event handling function.
* This is used by drag_pointer() which has its own, modal event handler, which
*/
#pragma once
+#include <config.h>
+
#include "data.h"
/**
*/
#pragma once
+#include <config.h>
+
/*
* Initializes the Match data structure. This function is necessary because the
* members representing boolean values (like dock) need to be initialized with
*/
#pragma once
+#include <config.h>
+
/**
* Moves the given container in the given direction (TOK_LEFT, TOK_RIGHT,
* TOK_UP, TOK_DOWN from cmdparse.l)
*/
#pragma once
+#include <config.h>
+
/**
* Returns the output container below the given output container.
*
*/
#pragma once
+#include <config.h>
+
#include "data.h"
#include <xcb/randr.h>
*/
#pragma once
+#include <config.h>
+
/**
* Creates a new 'regex' struct containing the given pattern and a PCRE
* compiled regular expression. Also, calls pcre_study because this regex will
*/
#pragma once
+#include <config.h>
+
/* This is used to keep a state to pass around when rendering a con in render_con(). */
typedef struct render_params {
/* A copy of the coordinates of the container which is being rendered. */
*/
#pragma once
+#include <config.h>
+
bool resize_find_tiling_participants(Con **current, Con **other, direction_t direction);
int resize_graphical_handler(Con *first, Con *second, orientation_t orientation, const xcb_button_press_event_t *event);
*/
#pragma once
+#include <config.h>
+
/**
* Opens a separate connection to X11 for placeholder windows when restoring
* layouts. This is done as a safety measure (users can xkill a placeholder
*/
#pragma once
+#include <config.h>
+
/**
* Moves the specified window to the __i3_scratch workspace, making it floating
* and setting the appropriate scratchpad_state.
*/
#pragma once
+#include <config.h>
+
#include <stdint.h>
#if !defined(__OpenBSD__)
#include <pthread.h>
*/
#pragma once
+#include <config.h>
+
/**
* Setup signal handlers to safely handle SIGSEGV and SIGFPE
*
*/
#pragma once
+#include <config.h>
+
#define SN_API_NOT_YET_FROZEN 1
#include <libsn/sn-monitor.h>
*/
#pragma once
+#include <config.h>
+
extern Con *croot;
/* TODO: i am not sure yet how much access to the focused container should
* be permitted to source files */
*/
#pragma once
+#include <config.h>
+
#include <err.h>
#include "data.h"
*/
#pragma once
+#include <config.h>
+
/**
* Frees an i3Window and all its members.
*
*/
#pragma once
+#include <config.h>
+
#include "data.h"
#include "tree.h"
#include "randr.h"
*/
#pragma once
+#include <config.h>
+
/** Stores the X11 window ID of the currently focused window */
extern xcb_window_t focused_id;
*/
#pragma once
+#include <config.h>
+
#include "data.h"
#include "xcursor.h"
*/
#pragma once
+#include <config.h>
+
#include <xcb/xcb_cursor.h>
enum xcursor_cursor_t {
*/
#pragma once
+#include <config.h>
+
#include "data.h"
/**
*/
#pragma once
+#include <config.h>
+
#include <yajl/yajl_gen.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_version.h>
*
*/
#include "libi3.h"
+
#include <math.h>
#include <stdlib.h>
#include <xcb/xcb_xrm.h>
* draw.c: Utility for drawing.
*
*/
+#include "libi3.h"
+
#include <stdlib.h>
#include <err.h>
#include <string.h>
#include <xcb/xcb_aux.h>
#include <cairo/cairo-xcb.h>
-#include "libi3.h"
-
/* The default visual_type to use if none is specified when creating the surface. Must be defined globally. */
xcb_visualtype_t *visual_type;
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <stdlib.h>
#include <stdbool.h>
#include <xcb/xcb.h>
#include <xcb/xproto.h>
-#include "libi3.h"
-
/*
* Generates a configure_notify event and sends it to the given window
* Applications need this to think they’ve configured themselves correctly.
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <cairo/cairo-xcb.h>
#include <pango/pangocairo.h>
-#include "libi3.h"
-
static const i3Font *savedFont = NULL;
static xcb_visualtype_t *root_visual_type;
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
-#include "libi3.h"
-
#ifndef STARTS_WITH
#define STARTS_WITH(string, needle) (strncasecmp((string), (needle), strlen((needle))) == 0)
#endif
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "queue.h"
-#include "libi3.h"
-
struct Colorpixel {
char hex[8];
uint32_t pixel;
*
*/
#include "libi3.h"
+
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+/*
+ * vim:ts=4:sw=4:expandtab
+ *
+ * i3 - an improved dynamic tiling window manager
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
+ *
+ */
+#include "libi3.h"
+
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
-#include "libi3.h"
-
/*
* This function returns the absolute path to the executable it is running in.
*
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <stdint.h>
#include <stdlib.h>
#include <xcb/xcb.h>
#include <xcb/xcb_keysyms.h>
-#include "libi3.h"
-
/*
* All-in-one function which returns the modifier mask (XCB_MOD_MASK_*) for the
* given keysymbol, for example for XCB_NUM_LOCK (usually configured to mod2).
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <err.h>
-#include "libi3.h"
-
/*
* Returns the name of a temporary file with the specified prefix.
*
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <fcntl.h>
-#include "libi3.h"
-
/*
* Connects to the i3 IPC socket and returns the file descriptor for the
* socket. die()s if anything goes wrong.
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <i3/ipc.h>
-#include "libi3.h"
-
/*
* Reads a message from the given socket file descriptor and stores its length
* (reply_length) as well as a pointer to its contents (reply).
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <i3/ipc.h>
-#include "libi3.h"
-
/*
* Formats a message (payload) of the given size and type and sends it to i3 via
* the given socket file descriptor.
+/*
+ * vim:ts=4:sw=4:expandtab
+ *
+ * i3 - an improved dynamic tiling window manager
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
+ *
+ */
+#include "libi3.h"
+
#include <string.h>
#include <stdbool.h>
+/*
+ * vim:ts=4:sw=4:expandtab
+ *
+ * i3 - an improved dynamic tiling window manager
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
+ *
+ */
#include "libi3.h"
+
#include <errno.h>
#include <stdlib.h>
#include <string.h>
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
-
#include "libi3.h"
+
#include <err.h>
#include <glob.h>
#include <stdlib.h>
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <xcb/xcb.h>
#include <xcb/xcb_aux.h>
-#include "libi3.h"
-
/*
* Try to get the contents of the given atom (for example I3_SOCKET_PATH) from
* the X11 root window and return NULL if it doesn’t work.
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <err.h>
#include <errno.h>
-#include "libi3.h"
-
/*
* The s* functions (safe) are wrappers around malloc, strdup, …, which exits if one of
* the called functions returns NULL, meaning that there is no more memory available
* others want UTF-8 (Pango).
*
*/
+#include "libi3.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>
-#include "libi3.h"
-
struct _i3String {
char *utf8;
xcb_char2b_t *ucs2;
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <sys/types.h>
#include <string.h>
-#include "libi3.h"
-
#if defined(__APPLE__)
/*
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
+#include "libi3.h"
+
#include <err.h>
#include <errno.h>
#include <iconv.h>
#include <stdlib.h>
#include <string.h>
-#include "libi3.h"
-
static iconv_t utf8_conversion_descriptor = (iconv_t)-1;
static iconv_t ucs2_conversion_descriptor = (iconv_t)-1;
-#undef I3__FILE__
-#define I3__FILE__ "assignments.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "click.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "commands.c"
/*
* vim:ts=4:sw=4:expandtab
*
* commands.c: all command functions (see commands_parser.c)
*
*/
+#include "all.h"
+
#include <stdint.h>
#include <float.h>
#include <stdarg.h>
#include <sanitizer/lsan_interface.h>
#endif
-#include "all.h"
#include "shmlog.h"
// Macros to make the YAJL API a bit easier to use.
-#undef I3__FILE__
-#define I3__FILE__ "commands_parser.c"
/*
* vim:ts=4:sw=4:expandtab
*
* instead of actually calling any function).
*
*/
+#include "all.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
-#include "all.h"
-
// Macros to make the YAJL API a bit easier to use.
#define y(x, ...) (command_output.json_gen != NULL ? yajl_gen_##x(command_output.json_gen, ##__VA_ARGS__) : 0)
#define ystr(str) (command_output.json_gen != NULL ? yajl_gen_string(command_output.json_gen, (unsigned char *)str, strlen(str)) : 0)
-#undef I3__FILE__
-#define I3__FILE__ "con.c"
/*
* vim:ts=4:sw=4:expandtab
*
*
*/
#include "all.h"
+
#include "yajl_utils.h"
static void con_on_remove_child(Con *con);
-#undef I3__FILE__
-#define I3__FILE__ "config.c"
/*
* vim:ts=4:sw=4:expandtab
*
*
*/
#include "all.h"
+
#include <xkbcommon/xkbcommon.h>
char *current_configpath = NULL;
-#undef I3__FILE__
-#define I3__FILE__ "config_directives.c"
/*
* vim:ts=4:sw=4:expandtab
*
* config_directives.c: all config storing functions (see config_parser.c)
*
*/
+#include "all.h"
+
#include <float.h>
#include <stdarg.h>
-#include "all.h"
-
/*******************************************************************************
* Criteria functions.
******************************************************************************/
-#undef I3__FILE__
-#define I3__FILE__ "config_parser.c"
/*
* vim:ts=4:sw=4:expandtab
*
* nearest <error> token.
*
*/
+#include "all.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <xcb/xcb_xrm.h>
-#include "all.h"
-
// Macros to make the YAJL API a bit easier to use.
#define y(x, ...) yajl_gen_##x(command_output.json_gen, ##__VA_ARGS__)
#define ystr(str) yajl_gen_string(command_output.json_gen, (unsigned char *)str, strlen(str))
-#undef I3__FILE__
-#define I3__FILE__ "debug.c"
/*
* vim:ts=4:sw=4:expandtab
*
* events. This code is from xcb-util.
*
*/
+#include <config.h>
+
#include <stdio.h>
#include <xcb/xcb.h>
-#undef I3__FILE__
-#define I3__FILE__ "key_press.c"
/*
* vim:ts=4:sw=4:expandtab
*
* i3 --moreversion.
*
*/
+#include "all.h"
+
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/un.h>
#include <fcntl.h>
#include <time.h>
-#include "all.h"
static bool human_readable_key, loaded_config_file_name_key;
static char *human_readable_version, *loaded_config_file_name;
-#undef I3__FILE__
-#define I3__FILE__ "ewmh.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "fake_outputs.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "floating.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "handlers.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "ipc.c"
/*
* vim:ts=4:sw=4:expandtab
*
*
*/
#include "all.h"
+
#include "yajl_utils.h"
#include <stdint.h>
-#undef I3__FILE__
-#define I3__FILE__ "key_press.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "load_layout.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "log.c"
/*
* vim:ts=4:sw=4:expandtab
*
* log.c: Logging functions.
*
*/
+#include <config.h>
+
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
-#undef I3__FILE__
-#define I3__FILE__ "main.c"
/*
* vim:ts=4:sw=4:expandtab
*
* main.c: Initialization, main loop
*
*/
+#include "all.h"
+
#include <ev.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <libgen.h>
-#include "all.h"
#include "shmlog.h"
#include "sd-daemon.h"
-#undef I3__FILE__
-#define I3__FILE__ "manage.c"
/*
* vim:ts=4:sw=4:expandtab
*
*
*/
#include "all.h"
+
#include "yajl_utils.h"
#include <yajl/yajl_gen.h>
-#undef I3__FILE__
-#define I3__FILE__ "match.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "move.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "output.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "randr.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "regex.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "render.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "resize.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "restore_layout.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "scratchpad.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "sighandler.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "startup.c"
/*
* vim:ts=4:sw=4:expandtab
*
*
*/
#include "all.h"
+
#include "sd-daemon.h"
#include <sys/types.h>
-#undef I3__FILE__
-#define I3__FILE__ "tree.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "util.c"
/*
* vim:ts=4:sw=4:expandtab
*
* and used dynamically without recompiling every object file.
*
*/
+#include <config.h>
+
const char *i3_version = I3_VERSION;
-#undef I3__FILE__
-#define I3__FILE__ "window.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "workspace.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "x.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "xcb.c"
/*
* vim:ts=4:sw=4:expandtab
*
-#undef I3__FILE__
-#define I3__FILE__ "xcursor.c"
/*
* vim:ts=4:sw=4:expandtab
*
* xcursor.c: xcursor support for themed cursors.
*
*/
+#include <config.h>
+
#include <assert.h>
#include <xcb/xcb_cursor.h>
-#undef I3__FILE__
-#define I3__FILE__ "xinerama.c"
/*
* vim:ts=4:sw=4:expandtab
*