degendered terms
This commit is contained in:
parent
10a58725cd
commit
94b1e76af4
|
@ -1012,7 +1012,7 @@ gets started in any way) and the window(s) which appear.
|
||||||
|
|
||||||
Imagine for example using dmenu: The user starts dmenu by pressing Mod+d, dmenu
|
Imagine for example using dmenu: The user starts dmenu by pressing Mod+d, dmenu
|
||||||
gets started with PID 3390. The user then decides to launch Firefox, which
|
gets started with PID 3390. The user then decides to launch Firefox, which
|
||||||
takes a long time. So he enters firefox into dmenu and presses enter. Firefox
|
takes a long time. So they enter firefox into dmenu and press enter. Firefox
|
||||||
gets started with PID 4001. When it finally finishes loading, it creates an X11
|
gets started with PID 4001. When it finally finishes loading, it creates an X11
|
||||||
window and uses MapWindow to make it visible. This is the first time i3
|
window and uses MapWindow to make it visible. This is the first time i3
|
||||||
actually gets in touch with Firefox. It decides to map the window, but it has
|
actually gets in touch with Firefox. It decides to map the window, but it has
|
||||||
|
|
|
@ -306,7 +306,7 @@ for my $app (keys %apps) {
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
# ┃ Run dmenu to ask the user for her choice ┃
|
# ┃ Run dmenu to ask the user for their choice ┃
|
||||||
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||||
|
|
||||||
# open2 will just make dmenu’s STDERR go to our own STDERR.
|
# open2 will just make dmenu’s STDERR go to our own STDERR.
|
||||||
|
|
|
@ -341,7 +341,7 @@ sub convert_command {
|
||||||
# NOTE: This is not 100% accurate, as it only works for one level
|
# NOTE: This is not 100% accurate, as it only works for one level
|
||||||
# of nested containers. As this is a common use case, we use 'focus
|
# of nested containers. As this is a common use case, we use 'focus
|
||||||
# parent; $command' nevertheless. For advanced use cases, the user
|
# parent; $command' nevertheless. For advanced use cases, the user
|
||||||
# has to modify his config.
|
# has to modify their config.
|
||||||
print "$statement $key focus parent; $command\n";
|
print "$statement $key focus parent; $command\n";
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* © 2009-2013 Michael Stapelberg and contributors (see also: LICENSE)
|
* © 2009-2013 Michael Stapelberg and contributors (see also: LICENSE)
|
||||||
*
|
*
|
||||||
* i3-nagbar is a utility which displays a nag message, for example in the case
|
* i3-nagbar is a utility which displays a nag message, for example in the case
|
||||||
* when the user has an error in his configuration file.
|
* when the user has an error in their configuration file.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -169,7 +169,7 @@ bar {
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# automatically start i3-config-wizard to offer the user to create a
|
# automatically start i3-config-wizard to offer the user to create a
|
||||||
# keysym-based config which used his favorite modifier (alt or windows)
|
# keysym-based config which used their favorite modifier (alt or windows)
|
||||||
#
|
#
|
||||||
# i3-config-wizard will not launch if there already is a config file
|
# i3-config-wizard will not launch if there already is a config file
|
||||||
# in ~/.i3/config.
|
# in ~/.i3/config.
|
||||||
|
|
|
@ -105,7 +105,7 @@ struct Config {
|
||||||
|
|
||||||
/** By default, focus follows mouse. If the user explicitly wants to
|
/** By default, focus follows mouse. If the user explicitly wants to
|
||||||
* turn this off (and instead rely only on the keyboard for changing
|
* turn this off (and instead rely only on the keyboard for changing
|
||||||
* focus), we allow him to do this with this relatively special option.
|
* focus), we allow them to do this with this relatively special option.
|
||||||
* It is not planned to add any different focus models. */
|
* It is not planned to add any different focus models. */
|
||||||
bool disable_focus_follows_mouse;
|
bool disable_focus_follows_mouse;
|
||||||
|
|
||||||
|
|
|
@ -450,7 +450,7 @@ struct Match {
|
||||||
/**
|
/**
|
||||||
* An Assignment makes specific windows go to a specific workspace/output or
|
* An Assignment makes specific windows go to a specific workspace/output or
|
||||||
* run a command for that window. With this mechanism, the user can -- for
|
* run a command for that window. With this mechanism, the user can -- for
|
||||||
* example -- assign his browser to workspace "www". Checking if a window is
|
* example -- assign their browser to workspace "www". Checking if a window is
|
||||||
* assigned works by comparing the Match data structure with the window (see
|
* assigned works by comparing the Match data structure with the window (see
|
||||||
* match_matches_window()).
|
* match_matches_window()).
|
||||||
*
|
*
|
||||||
|
|
|
@ -19,7 +19,7 @@ void handle_key_press(xcb_key_press_event_t *event);
|
||||||
/**
|
/**
|
||||||
* Kills the commanderror i3-nagbar process, if any.
|
* Kills the commanderror i3-nagbar process, if any.
|
||||||
*
|
*
|
||||||
* Called when reloading/restarting, since the user probably fixed his wrong
|
* Called when reloading/restarting, since the user probably fixed their wrong
|
||||||
* keybindings.
|
* keybindings.
|
||||||
*
|
*
|
||||||
* If wait_for_it is set (restarting), this function will waitpid(), otherwise,
|
* If wait_for_it is set (restarting), this function will waitpid(), otherwise,
|
||||||
|
|
|
@ -455,7 +455,7 @@ static int xcb_query_text_width(const xcb_char2b_t *text, size_t text_len) {
|
||||||
cookie, &error);
|
cookie, &error);
|
||||||
if (reply == NULL) {
|
if (reply == NULL) {
|
||||||
/* We return a safe estimate because a rendering error is better than
|
/* We return a safe estimate because a rendering error is better than
|
||||||
* a crash. Plus, the user will see the error in his log. */
|
* a crash. Plus, the user will see the error in their log. */
|
||||||
fprintf(stderr, "Could not get text extents (X error code %d)\n",
|
fprintf(stderr, "Could not get text extents (X error code %d)\n",
|
||||||
error->error_code);
|
error->error_code);
|
||||||
return savedFont->specific.xcb.info->max_bounds.character_width * text_len;
|
return savedFont->specific.xcb.info->max_bounds.character_width * text_len;
|
||||||
|
|
|
@ -30,7 +30,7 @@ It tries to start one of the following (in that order):
|
||||||
* gedit
|
* gedit
|
||||||
* mc-edit
|
* mc-edit
|
||||||
|
|
||||||
Please don’t complain about the order: If the user has any preference, he will
|
Please don’t complain about the order: If the user has any preference, they will
|
||||||
have $VISUAL or $EDITOR set.
|
have $VISUAL or $EDITOR set.
|
||||||
|
|
||||||
== SEE ALSO
|
== SEE ALSO
|
||||||
|
|
|
@ -23,7 +23,7 @@ It tries to start one of the following (in that order):
|
||||||
* w3m
|
* w3m
|
||||||
* i3-sensible-editor(1)
|
* i3-sensible-editor(1)
|
||||||
|
|
||||||
Please don’t complain about the order: If the user has any preference, he will
|
Please don’t complain about the order: If the user has any preference, they will
|
||||||
have $PAGER set.
|
have $PAGER set.
|
||||||
|
|
||||||
== SEE ALSO
|
== SEE ALSO
|
||||||
|
|
|
@ -33,8 +33,8 @@ It tries to start one of the following (in that order):
|
||||||
* roxterm
|
* roxterm
|
||||||
* xfce4-terminal
|
* xfce4-terminal
|
||||||
|
|
||||||
Please don’t complain about the order: If the user has any preference, she will
|
Please don’t complain about the order: If the user has any preference, they will
|
||||||
have $TERMINAL set or modified her i3 configuration file.
|
have $TERMINAL set or modified their i3 configuration file.
|
||||||
|
|
||||||
== SEE ALSO
|
== SEE ALSO
|
||||||
|
|
||||||
|
|
|
@ -823,11 +823,11 @@ static char *migrate_config(char *input, off_t size) {
|
||||||
fprintf(stderr, "Migration process exit code was != 0\n");
|
fprintf(stderr, "Migration process exit code was != 0\n");
|
||||||
if (returncode == 2) {
|
if (returncode == 2) {
|
||||||
fprintf(stderr, "could not start the migration script\n");
|
fprintf(stderr, "could not start the migration script\n");
|
||||||
/* TODO: script was not found. tell the user to fix his system or create a v4 config */
|
/* TODO: script was not found. tell the user to fix their system or create a v4 config */
|
||||||
} else if (returncode == 1) {
|
} else if (returncode == 1) {
|
||||||
fprintf(stderr, "This already was a v4 config. Please add the following line to your config file:\n");
|
fprintf(stderr, "This already was a v4 config. Please add the following line to your config file:\n");
|
||||||
fprintf(stderr, "# i3 config file (v4)\n");
|
fprintf(stderr, "# i3 config file (v4)\n");
|
||||||
/* TODO: nag the user with a message to include a hint for i3 in his config file */
|
/* TODO: nag the user with a message to include a hint for i3 in their config file */
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ static void check_crossing_screen_boundary(uint32_t x, uint32_t y) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Focus the output on which the user moved his cursor */
|
/* Focus the output on which the user moved their cursor */
|
||||||
Con *old_focused = focused;
|
Con *old_focused = focused;
|
||||||
Con *next = con_descend_focused(output_get_content(output->con));
|
Con *next = con_descend_focused(output_get_content(output->con));
|
||||||
/* Since we are switching outputs, this *must* be a different workspace, so
|
/* Since we are switching outputs, this *must* be a different workspace, so
|
||||||
|
@ -149,7 +149,7 @@ static void handle_enter_notify(xcb_enter_notify_event_t *event) {
|
||||||
enter_child = true;
|
enter_child = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If not, then the user moved his cursor to the root window. In that case, we adjust c_ws */
|
/* If not, then the user moved their cursor to the root window. In that case, we adjust c_ws */
|
||||||
if (con == NULL) {
|
if (con == NULL) {
|
||||||
DLOG("Getting screen at %d x %d\n", event->root_x, event->root_y);
|
DLOG("Getting screen at %d x %d\n", event->root_x, event->root_y);
|
||||||
check_crossing_screen_boundary(event->root_x, event->root_y);
|
check_crossing_screen_boundary(event->root_x, event->root_y);
|
||||||
|
@ -1315,7 +1315,7 @@ void handle_event(int type, xcb_generic_event_t *event) {
|
||||||
handle_motion_notify((xcb_motion_notify_event_t *)event);
|
handle_motion_notify((xcb_motion_notify_event_t *)event);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Enter window = user moved his mouse over the window */
|
/* Enter window = user moved their mouse over the window */
|
||||||
case XCB_ENTER_NOTIFY:
|
case XCB_ENTER_NOTIFY:
|
||||||
handle_enter_notify((xcb_enter_notify_event_t *)event);
|
handle_enter_notify((xcb_enter_notify_event_t *)event);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -778,7 +778,7 @@ int main(int argc, char *argv[]) {
|
||||||
ELOG("Could not setup signal handler");
|
ELOG("Could not setup signal handler");
|
||||||
|
|
||||||
/* Ignore SIGPIPE to survive errors when an IPC client disconnects
|
/* Ignore SIGPIPE to survive errors when an IPC client disconnects
|
||||||
* while we are sending him a message */
|
* while we are sending them a message */
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
/* Autostarting exec-lines */
|
/* Autostarting exec-lines */
|
||||||
|
|
Loading…
Reference in New Issue