mirror of
https://github.com/swaywm/sway.git
synced 2026-05-06 06:46:40 -04:00
Merge 9ae03f19bd into 950c451f30
This commit is contained in:
commit
33675fa90d
16 changed files with 267 additions and 1 deletions
|
|
@ -117,6 +117,7 @@ sway_cmd cmd_input;
|
|||
sway_cmd cmd_seat;
|
||||
sway_cmd cmd_ipc;
|
||||
sway_cmd cmd_kill;
|
||||
sway_cmd cmd_lock;
|
||||
sway_cmd cmd_layout;
|
||||
sway_cmd cmd_log_colors;
|
||||
sway_cmd cmd_mark;
|
||||
|
|
@ -148,6 +149,9 @@ sway_cmd cmd_unmark;
|
|||
sway_cmd cmd_workspace;
|
||||
sway_cmd cmd_ws_auto_back_and_forth;
|
||||
sway_cmd cmd_workspace_layout;
|
||||
sway_cmd cmd_idle_timeout;
|
||||
sway_cmd cmd_lock_timeout;
|
||||
sway_cmd cmd_swaylock_command;
|
||||
|
||||
sway_cmd bar_cmd_activate_button;
|
||||
sway_cmd bar_cmd_binding_mode_indicator;
|
||||
|
|
|
|||
|
|
@ -305,6 +305,9 @@ struct sway_config {
|
|||
enum sway_container_layout default_layout;
|
||||
char *font;
|
||||
int font_height;
|
||||
uint32_t idle_timeout;
|
||||
uint32_t lock_timeout;
|
||||
char *swaylock_command;
|
||||
|
||||
// Flags
|
||||
bool focus_follows_mouse;
|
||||
|
|
|
|||
8
include/sway/idle.h
Normal file
8
include/sway/idle.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef _SWAY_IDLE_H
|
||||
#define _SWAY_IDLE_H
|
||||
#include <sway/server.h>
|
||||
|
||||
void idle_setup_seat(struct sway_server *server, struct sway_seat *seat);
|
||||
bool idle_init(struct sway_server *server);
|
||||
void invoke_swaylock();
|
||||
#endif
|
||||
|
|
@ -21,6 +21,7 @@ struct sway_server {
|
|||
|
||||
struct wlr_compositor *compositor;
|
||||
struct wlr_data_device_manager *data_device_manager;
|
||||
struct wlr_idle *idle;
|
||||
|
||||
struct sway_input_manager *input;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue