emersion
51bfdd620e
Use #if instead of #ifdef for wlroots config data
...
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
2018-11-12 10:12:46 +01:00
emersion
067a496c8b
Revert "rootston: Reap child processes"
...
This reverts commit b6ed1f29a4
.
This commit breaks xwayland.
2018-07-29 09:19:26 +01:00
Genki Sky
b6ed1f29a4
rootston: Reap child processes
...
Just install a SIG_IGN handler, which is defined by POSIX.1-2001 to
reap the child.
To test, spawn any process (e.g. GUI application) with a keybinding,
close that process, verify it doesn't show up as a <defunct> zombie in
ps(1) output.
2018-07-24 08:22:35 -04:00
emersion
7cbef15206
util: add wlr_ prefix to log symbols
2018-07-09 22:49:54 +01:00
emersion
3a81afed0e
rootston: destroy xwayland before all clients
...
Destroying all clients disconnects the xwayland client, and
xwayland automatically restarts when disconnected.
2018-06-08 09:29:55 +01:00
emersion
f9ad63c5cb
rootston: use wl_display_destroy_clients
2018-05-29 22:50:26 +01:00
emersion
6eb4b5b54d
Merge pull request #993 from emersion/bind-wl-drm-in-renderer
...
render: bind wl_drm in renderer
2018-05-25 13:54:16 +01:00
Ilia Bozhinov
24cf70ae96
backends: implement custom EGL and renderer initialization
...
Compositors now have more control over how the backend creates its
renderer. Currently all backends create an EGL/GLES2 renderer, so
the necessary attributes for creating the context are passed to a
user-provided callback function. It is responsible for initializing
provided wlr_egl and to return a renderer. On fail, return 0.
Fixes #987
2018-05-25 14:56:52 +03:00
emersion
41130fe54b
render: bind wl_drm in renderer
2018-05-21 19:07:08 +01:00
Vincent Vanlaer
dbf4f9a231
Make startup command no longer wait for xwayland
2018-05-06 23:41:29 +02:00
emersion
70d820be25
Add wlr_renderer_init_wl_shm to advertize supported renderer formats
2018-04-20 23:58:30 +01:00
Drew DeVault
902d859c67
Fix syntax errors
...
Build before you commit, dumbass
2018-04-08 12:50:52 -04:00
Drew DeVault
7bb8512afb
Fix assertions with side-effects
...
Fixes #1725
2018-04-08 12:49:48 -04:00
emersion
c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
2018-03-19 23:16:29 +01:00
emersion
c2e1474010
Reformat all #include directives
2018-02-12 21:29:23 +01:00
emersion
4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
...
This backports some changes to #319 to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers.
2018-01-23 22:06:54 +01:00
Drew DeVault
66d4d2928f
Remove unnecessary wlr_backend_destroy
2018-01-13 20:29:54 -05:00
Calvin Lee
5a26ed645a
Allow configurable verbosity
2017-12-31 14:50:19 -07:00
Björn Esser
ff13849624
config: Avoid clash with other config-headers
2017-12-27 17:13:58 +01:00
Björn Esser
57a09c8ca4
config: Put all defines into config.h
2017-12-26 18:51:27 +01:00
Tony Crisci
9871cde604
rootston: server backend check
2017-12-21 18:27:38 -05:00
Tony Crisci
ee39dff1e7
rootston: handle backend creation failed
2017-12-20 05:51:23 -05:00
emersion
4a36ba4bdd
Destroy multi backend on display destroy
2017-12-19 18:28:47 +01:00
emersion
db73c54f11
rootston: revert to auto backend
2017-12-18 10:10:23 +01:00
Drew DeVault
f3769a4b1f
Merge pull request #496 from emersion/headless-backend
...
Headless backend
2017-12-17 20:48:01 -05:00
emersion
bc5bdb7793
Add headless input devices
2017-12-17 18:49:20 +01:00
emersion
0256de0002
Add full refresh rate support to custom modes
2017-12-17 18:02:55 +01:00
emersion
3970264ccf
Initialize headless backend
2017-12-17 12:56:42 +01:00
emersion
6b42bfad18
Merge branch 'master' into xwm-selection
2017-12-14 23:59:04 +01:00
emersion
dfe11a2b0e
Add display destroy listener in screenshooter, destroy display in rootston
2017-12-07 00:13:06 +01:00
Tony Crisci
fc17c74516
xwayland: clean up seat setting
2017-11-22 08:23:23 -05:00
Tony Crisci
b0683874e9
xwm: send selection data
2017-11-22 08:10:06 -05:00
Tony Crisci
39e2ea8420
xwm: get selection targets
2017-11-21 18:09:25 -05:00
Tony Crisci
90d2eca218
rootston: xwayland ready listener
2017-11-19 10:07:30 -05:00
emersion
632759a499
Fix segfault when xwayland is disabled
2017-11-17 15:28:22 +01:00
Drew DeVault
a317ecdab8
Run startup command after xwayland is ready
2017-11-12 16:01:48 -05:00
Tony Crisci
1db3b55128
rootston: prefix config structs and functions
2017-11-11 10:59:04 -05:00
Tony Crisci
a87b60e31e
Merge branch 'master' into feature/data-device-selection
2017-10-21 09:37:58 -04:00
D.B
8c759d7abe
Add startup command option to rootston
...
Allows specifying a command to run at startup.
2017-10-20 17:49:04 +02:00
Tony Crisci
df0a8d3abe
wlr-data-device: drag icons
2017-10-15 11:06:03 -04:00
Tony Crisci
6a7560fae0
wlr-data-device interface
2017-10-15 05:59:52 -04:00
Versus Void
c5df6ca900
Fix memory leaks
2017-10-05 20:01:56 +00:00
Drew DeVault
eadda29e84
Set WAYLAND_DISPLAY in rootston environment
...
Duh
2017-10-03 10:35:54 -04:00
Tony Crisci
23e7411442
rootston: create desktop before input
2017-09-30 08:46:18 -04:00
Drew DeVault
0699aa62d8
Initial pass on roots_input
2017-09-23 10:13:05 -04:00
Drew DeVault
b6d7c3ed8e
Initialize display, backend; add frame handling
2017-09-23 00:30:39 -04:00
Drew DeVault
550748681d
Establish rootston headers & main
2017-09-22 23:30:40 -04:00