i3
Defines | Functions | Variables
include/i3.h File Reference
#include <sys/time.h>
#include <sys/resource.h>
#include <xcb/xcb_keysyms.h>
#include <X11/XKBlib.h>
#include <libsn/sn-launcher.h>
#include "queue.h"
#include "data.h"
#include "xcb.h"
Include dependency graph for i3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SN_API_NOT_YET_FROZEN   1

Functions

 TAILQ_HEAD (bindings_head, Binding)*bindings
 TAILQ_HEAD (autostarts_head, Autostart) autostarts
 TAILQ_HEAD (autostarts_always_head, Autostart) autostarts_always
 TAILQ_HEAD (ws_assignments_head, Workspace_Assignment) ws_assignments
 TAILQ_HEAD (assignments_head, Assignment) assignments
 SLIST_HEAD (stack_wins_head, Stack_Window) stack_wins

Variables

struct rlimit original_rlimit_core
 The original value of RLIMIT_CORE when i3 was started.
bool debug_build
 Whether this version of i3 is a debug build or a release build.
int listen_fds
 The number of file descriptors passed via socket activation.
xcb_connection_t * conn
int conn_screen
xcb_timestamp_t last_timestamp
 The last timestamp we got from X11 (timestamps are included in some events and are used for some things, like determining a unique ID in startup notification).
SnDisplay * sndisplay
xcb_key_symbols_t * keysyms
char ** start_argv
Display * xlibdpy
Display * xkbdpy
int xkb_current_group
xcb_screen_t * root_screen
uint8_t root_depth
xcb_visualid_t visual_id
xcb_colormap_t colormap
bool xcursor_supported
bool xkb_supported
xcb_window_t root
struct ev_loop * main_loop
bool only_check_config

Define Documentation

#define SN_API_NOT_YET_FROZEN   1

Definition at line 20 of file i3.h.


Function Documentation

SLIST_HEAD ( stack_wins_head  ,
Stack_Window   
)
TAILQ_HEAD ( autostarts_always_head  ,
Autostart   
)
TAILQ_HEAD ( assignments_head  ,
Assignment   
)
TAILQ_HEAD ( ws_assignments_head  ,
Workspace_Assignment   
)
TAILQ_HEAD ( bindings_head  ,
Binding   
)
TAILQ_HEAD ( autostarts_head  ,
Autostart   
)

Variable Documentation

xcb_colormap_t colormap

Definition at line 62 of file main.c.

Referenced by main(), and x_con_init().

xcb_connection_t* conn

Definition at line 42 of file main.c.

Definition at line 44 of file main.c.

Referenced by main(), property_handlers_init(), and start_application().

Whether this version of i3 is a debug build or a release build.

Definition at line 29 of file main.c.

Referenced by main().

xcb_key_symbols_t* keysyms
xcb_timestamp_t last_timestamp

The last timestamp we got from X11 (timestamps are included in some events and are used for some things, like determining a unique ID in startup notification).

Definition at line 52 of file main.c.

Referenced by handle_button_press(), handle_enter_notify(), handle_event(), handle_key_press(), handle_motion_notify(), and start_application().

The number of file descriptors passed via socket activation.

Definition at line 32 of file main.c.

Referenced by main(), and start_application().

struct ev_loop* main_loop

Definition at line 64 of file main.c.

Referenced by i3_exit(), main(), start_application(), and start_configerror_nagbar().

Definition at line 94 of file main.c.

Referenced by main(), and start_configerror_nagbar().

struct rlimit original_rlimit_core

The original value of RLIMIT_CORE when i3 was started.

We need to restore this before starting any other process, since we set RLIMIT_CORE to RLIM_INFINITY for i3 debugging versions.

Definition at line 26 of file main.c.

Referenced by main(), and start_application().

xcb_window_t root
uint8_t root_depth

Definition at line 60 of file main.c.

Referenced by handle_signal(), main(), x_con_init(), and x_push_node().

xcb_screen_t* root_screen

Definition at line 54 of file main.c.

Referenced by disable_randr(), get_visual_depth(), get_visualid_by_depth(), main(), and x_con_init().

SnDisplay* sndisplay

Definition at line 47 of file main.c.

Referenced by handle_client_message(), main(), property_handlers_init(), and start_application().

char** start_argv

Definition at line 40 of file main.c.

Referenced by exec_i3_utility(), i3_restart(), and main().

xcb_visualid_t visual_id

Definition at line 61 of file main.c.

Referenced by main().

Definition at line 88 of file main.c.

Referenced by create_window(), load_cursor(), main(), start_application(), and startup_monitor_event().

Definition at line 36 of file main.c.

Referenced by handle_key_press(), and xkb_got_event().

Definition at line 89 of file main.c.

Referenced by main().

Display * xkbdpy

Definition at line 69 of file main.c.

Referenced by main(), and xkb_got_event().

Display* xlibdpy

Definition at line 69 of file main.c.

Referenced by load_cursor(), main(), and xcursor_set_root_cursor().