mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
cmd_xwayland: add force for immediate launch
This just adds a force option to cmd_xwayland that allows for xwayland to be immediately launched instead of lazily launched. This is useful for slower machines so it can be part of the startup time instead of when the user is actively trying to use it
This commit is contained in:
parent
384afc5cb5
commit
ff7d979d99
5 changed files with 27 additions and 8 deletions
|
|
@ -424,6 +424,12 @@ enum alignment {
|
|||
ALIGN_RIGHT
|
||||
};
|
||||
|
||||
enum xwayland_mode {
|
||||
XWAYLAND_MODE_DISABLED,
|
||||
XWAYLAND_MODE_LAZY,
|
||||
XWAYLAND_MODE_IMMEADIATE
|
||||
};
|
||||
|
||||
/**
|
||||
* The configuration struct. The result of loading a config file.
|
||||
*/
|
||||
|
|
@ -464,7 +470,7 @@ struct sway_config {
|
|||
size_t urgent_timeout;
|
||||
enum sway_fowa focus_on_window_activation;
|
||||
enum sway_popup_during_fullscreen popup_during_fullscreen;
|
||||
bool xwayland;
|
||||
enum xwayland_mode xwayland;
|
||||
|
||||
// swaybg
|
||||
char *swaybg_command;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue