i3
|
#include <config.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <xcb/shape.h>
#include <xcb/xcb_keysyms.h>
#include <xcb/xkb.h>
#include <X11/XKBlib.h>
#include <libsn/sn-launcher.h>
#include "queue.h"
#include "data.h"
#include "xcb.h"
Go to the source code of this file.
Macros | |
#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 | |
const char * | i3_version |
Git commit identifier, from version.c. | |
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. | |
int | conn_screen |
xcb_atom_t | wm_sn |
xcb_window_t | ewmh_window |
The EWMH support window that is used to indicate that an EWMH-compliant window manager is present. | |
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 |
int | xkb_current_group |
const char * | current_binding_mode |
uint8_t | root_depth |
xcb_visualid_t | visual_id |
xcb_colormap_t | colormap |
bool | xkb_supported |
bool | shape_supported |
xcb_window_t | root |
struct ev_loop * | main_loop |
bool | only_check_config |
bool | force_xinerama |
|
extern |
References colormap, root_depth, and visual_id.
|
extern |
References assignments.
|
extern |
References autostarts_always.
|
extern |
References autostarts.
|
extern |
References bindings, and current_binding_mode.
|
extern |
References ws_assignments.
|
extern |
Definition at line 77 of file main.c.
Referenced by main(), SLIST_HEAD(), and x_con_init().
|
extern |
Definition at line 56 of file main.c.
Referenced by display_running_version(), main(), property_handlers_init(), and start_application().
|
extern |
Definition at line 88 of file main.c.
Referenced by IPC_HANDLER(), load_configuration(), run_binding(), switch_mode(), and TAILQ_HEAD().
|
extern |
Whether this version of i3 is a debug build or a release build.
|
extern |
The EWMH support window that is used to indicate that an EWMH-compliant window manager is present.
This window is created when i3 starts and kept alive until i3 exits. We also use this window as the focused window if no other window is available to be focused on the active workspace in order to prevent keyboard focus issues (see #1378).
Definition at line 14 of file ewmh.c.
Referenced by ewmh_setup_hints(), and x_push_changes().
|
extern |
Definition at line 107 of file main.c.
Referenced by CFGFUN(), handle_configure_notify(), and main().
|
extern |
Git commit identifier, from version.c.
Definition at line 13 of file version.c.
Referenced by IPC_HANDLER(), main(), and parse_file().
|
extern |
Definition at line 81 of file main.c.
Referenced by handle_event(), handle_mapping_notify(), main(), and sighandler_handle_key_press().
|
extern |
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 64 of file main.c.
Referenced by handle_button_press(), handle_client_message(), handle_enter_notify(), handle_event(), handle_key_press(), handle_motion_notify(), main(), start_application(), and x_push_changes().
|
extern |
The number of file descriptors passed via socket activation.
Definition at line 46 of file main.c.
Referenced by main(), and start_application().
|
extern |
Definition at line 79 of file main.c.
Referenced by drag_pointer(), free_ipc_client(), i3_exit(), ipc_push_pending(), main(), main_set_x11_cb(), restore_connect(), setup_term_handlers(), start_application(), start_nagbar(), tree_close_internal(), workspace_defer_update_urgent_hint_cb(), and workspace_show().
|
extern |
Referenced by main().
|
extern |
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 43 of file main.c.
Referenced by main(), and start_application().
|
extern |
Definition at line 67 of file main.c.
Referenced by create_window(), drag_pointer(), ewmh_setup_hints(), ewmh_update_active_window(), ewmh_update_client_list(), ewmh_update_client_list_stacking(), ewmh_update_current_desktop(), ewmh_update_desktop_names(), ewmh_update_desktop_viewport(), ewmh_update_number_of_desktops(), ewmh_update_workarea(), fill_rmlvo_from_root(), floating_move_to_pointer(), grab_all_keys(), handle_button_press(), handle_configure_notify(), handle_focus_in(), handle_focus_out(), handle_screen_change(), main(), manage_existing_windows(), randr_init(), randr_query_outputs_14(), randr_query_outputs_15(), restore_geometry(), sighandler_create_dialogs(), tree_close_internal(), ungrab_all_keys(), update_shmlog_atom(), x_con_init(), x_push_changes(), x_set_i3_atoms(), xcb_grab_buttons(), and xcursor_set_root_cursor().
|
extern |
Definition at line 75 of file main.c.
Referenced by con_new_skeleton(), main(), sighandler_create_dialogs(), SLIST_HEAD(), x_con_init(), and x_push_node().
|
extern |
Definition at line 59 of file main.c.
Referenced by handle_client_message(), main(), property_handlers_init(), and start_application().
|
extern |
Definition at line 52 of file main.c.
Referenced by exec_i3_utility(), i3_restart(), and main().
|
extern |
Referenced by get_visual_depth(), get_visualtype_by_id(), and SLIST_HEAD().
|
extern |
Definition at line 70 of file main.c.
Referenced by handle_selection_clear(), and main().
|
extern |
Definition at line 22 of file handlers.c.
Referenced by binding_in_current_group(), and handle_event().
|
extern |
Definition at line 104 of file main.c.
Referenced by load_keymap(), and main().