Tobias Blass
a5c091e302
Perform (partial) server initialization before dropping privileges.
...
Some operations during backend creation (e.g. becoming DRM master)
require CAP_SYS_ADMIN privileges. At this point, sway has dropped them
already, though. This patch splits the privileged part of server_init
into its own function and calls it before dropping its privileges.
This fixes the bug with minimal security implications.
7 years ago
emersion
24832d8574
Update for swaywm/wlroots#1000
7 years ago
emersion
708ff238f3
Update for swaywm/wlroots#993
7 years ago
Dominique Martinet
89ae1792b5
sway: run commands without waiting for Xwayland
...
Xwayland is lazy now, there is no need to wait at all
7 years ago
emersion
95a10dd4f3
Kill wl_shell
7 years ago
Drew DeVault
404d006a1c
Enable lazy xwayland
7 years ago
Drew DeVault
b2dec12368
Merge pull request #1970 from emersion/xdg-shell-stable
...
Add xdg-shell stable support
7 years ago
emersion
88d9d43b36
Add xdg-shell stable support
7 years ago
Mattias Eriksson
8fbafbfab5
Idle handling for dpms/lockscreen et al
...
Swayidle handles idle events and allows
for dpms and lockscreen handling. It also
handles systemd sleep events, and can
raise a lockscreen on sleep
Fixes #541
7 years ago
Dan Robertson
4ebd6f3507
Fix null deref in server_init
...
If the backend fails to be created, log an error and immidiately return
from server_init.
7 years ago
Vincent Vanlaer
95dac2a069
Update xwayland start for new API
...
https://github.com/swaywm/wlroots/pull/959
7 years ago
emersion
b96d774c70
Use wlr_renderer_init_wl_shm
7 years ago
emersion
7114451607
Destroy display in server_fini
7 years ago
emersion
9570e37016
Update for wlroots#850
7 years ago
Drew DeVault
5d34e4531f
Add basic server decorations support
7 years ago
Drew DeVault
94ecd0f0aa
Configure wlr_xdg_output_manager during init
7 years ago
Tony Crisci
0828c77251
rename input-manager functions
7 years ago
Drew DeVault
5c08e13e50
Set Xwayland seat on focus
...
Necessary to make primary selection syncronize
7 years ago
Drew DeVault
ae0552606b
Configure linux_dmabuf, primary_selection
7 years ago
emersion
b237fa0b22
Set xwayland cursor
7 years ago
emersion
981827ca42
Cleanup and remove global renderer reference
7 years ago
Drew DeVault
d6acb3d86c
Set WAYLAND_DISPLAY earlier in startup
7 years ago
Drew DeVault
2719ddfe5e
Spawn swaybars when outputs are added
7 years ago
Drew DeVault
0c8a64942e
Add initial layer shell skeleton
7 years ago
emersion
01beee5826
Update wlroots API
...
Breaking changes in wlr_xdg_shell_v6 and wlr_renderer have been
made upstream.
7 years ago
Tony Crisci
ac8269d536
take seat param for handle_command and rename
7 years ago
Tony Crisci
7dfbf06de9
output destroy
7 years ago
Drew DeVault
a686fb07ae
Execute pending commands when Xwayland is ready
7 years ago
Calvin Lee
7196f59db0
Consolidate WLR and Sway logging
...
See #1390
7 years ago
Tony Crisci
163edc5a90
sway input device
7 years ago
Tony Crisci
d76e745b73
input include directory
7 years ago
Tony Crisci
21ce20885a
rename input to input-manager
7 years ago
Tony Crisci
338a0399f8
input skeleton
7 years ago
Tony Crisci
0896b68675
Merge branch 'wlroots' into feature/xwayland
7 years ago
Tony Crisci
1870f116ba
xwayland shell
7 years ago
Tony Crisci
8239067da4
basic wl-shell
7 years ago
Drew DeVault
4ca1e77fdb
Add views to tree and render them
7 years ago
Dominique Martinet
b8f8de27b8
wlr_data_device header update
...
wlroots 6a7560 renamed the header file
7 years ago
Drew DeVault
733993a651
Move everything to sway/old/
7 years ago
Drew DeVault
0c8491f7d0
Initial (awful) pass on xdg shell support
7 years ago
Drew DeVault
1efd5f819f
Wire up output frame loop
7 years ago
Drew DeVault
7eafcc75f6
Initialize outputs from backend and add to tree
7 years ago
Drew DeVault
0f45fad18c
Establish sway input submodule
7 years ago
Drew DeVault
7c448b4081
Fire up the wlroots backend and run the event loop
7 years ago