|
i3
|
#include <sys/time.h>#include <sys/resource.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 | |
| struct rlimit | original_rlimit_core |
| The original value of RLIMIT_CORE when i3 was started. More... | |
| bool | debug_build |
| Whether this version of i3 is a debug build or a release build. More... | |
| int | listen_fds |
| The number of file descriptors passed via socket activation. More... | |
| 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). More... | |
| 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 |
| SLIST_HEAD | ( | stack_wins_head | , |
| Stack_Window | |||
| ) |
| TAILQ_HEAD | ( | bindings_head | , |
| Binding | |||
| ) |
| TAILQ_HEAD | ( | autostarts_head | , |
| Autostart | |||
| ) |
| TAILQ_HEAD | ( | autostarts_always_head | , |
| Autostart | |||
| ) |
| TAILQ_HEAD | ( | ws_assignments_head | , |
| Workspace_Assignment | |||
| ) |
| TAILQ_HEAD | ( | assignments_head | , |
| Assignment | |||
| ) |
| xcb_colormap_t colormap |
Definition at line 63 of file main.c.
Referenced by main(), and x_con_init().
| xcb_connection_t* conn |
Definition at line 43 of file main.c.
Referenced by main(), xcb_check_cb(), and xcb_prepare_cb().
| int conn_screen |
Definition at line 45 of file main.c.
Referenced by display_running_version(), main(), property_handlers_init(), and start_application().
| bool debug_build |
Whether this version of i3 is a debug build or a release build.
| xcb_key_symbols_t* keysyms |
Definition at line 67 of file main.c.
Referenced by handle_event(), handle_mapping_notify(), main(), sig_handle_key_press(), and translate_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 53 of file main.c.
Referenced by handle_button_press(), handle_client_message(), handle_enter_notify(), handle_event(), handle_key_press(), handle_motion_notify(), start_application(), and x_push_changes().
| int listen_fds |
The number of file descriptors passed via socket activation.
Definition at line 33 of file main.c.
Referenced by main(), and start_application().
| struct ev_loop* main_loop |
Definition at line 65 of file main.c.
Referenced by _workspace_show(), drag_pointer(), i3_exit(), main(), main_set_x11_cb(), restore_connect(), start_application(), start_nagbar(), tree_close(), and workspace_defer_update_urgent_hint_cb().
| bool only_check_config |
Referenced by main().
| 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 30 of file main.c.
Referenced by main(), and start_application().
| xcb_window_t root |
Definition at line 56 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(), handle_button_press(), handle_screen_change(), main(), manage_window(), open_input_window(), randr_init(), randr_query_outputs(), restore_geometry(), tree_close(), ungrab_all_keys(), update_shmlog_atom(), x_con_init(), x_push_changes(), x_set_i3_atoms(), xcb_set_root_cursor(), xcb_warp_pointer_rect(), and xcursor_set_root_cursor().
| uint8_t root_depth |
Definition at line 61 of file main.c.
Referenced by configure_notify(), main(), open_placeholder_window(), open_popups(), x_con_init(), and x_push_node().
| xcb_screen_t* root_screen |
Definition at line 55 of file main.c.
Referenced by disable_randr(), get_visual_depth(), get_visualid_by_depth(), main(), x_con_init(), and xcursor_load_cursors().
| SnDisplay* sndisplay |
Definition at line 48 of file main.c.
Referenced by handle_client_message(), main(), property_handlers_init(), and start_application().
| char** start_argv |
Definition at line 41 of file main.c.
Referenced by backtrace(), exec_i3_utility(), i3_restart(), and main().
| bool xcursor_supported |
Definition at line 89 of file main.c.
Referenced by create_window(), drag_pointer(), main(), start_application(), startup_monitor_event(), and xcursor_load_cursors().
| int xkb_current_group |
Definition at line 25 of file handlers.c.
Referenced by get_binding_from_xcb_event(), and handle_event().
| bool xkb_supported |
| Display * xkbdpy |
| Display* xlibdpy |
1.8.9.1