Commit graph

115 commits

Author SHA1 Message Date
Jente Hidskes
4ea5cc6b32
Use Wayland's event loop for signals
Now we don't require a global variable.
2018-12-25 20:29:24 +01:00
Jente Hidskes
b22f4b465c
Improve child spawning 2018-12-25 20:29:24 +01:00
Jente Hidskes
96fd0e13bb
Add error handling 2018-12-25 20:29:24 +01:00
Jente Hidskes
3be28b5b6d
Remove unmap support
Since we do not ever minimize or otherwise unmap clients (except when
destroying them), we don't need to track mapped/unmapped state. The
destroy case is captured in checking whether the surface has a buffer
attached to it, before requesting its texture.
2018-12-25 20:29:24 +01:00
Jente Hidskes
11e71dbfb5
Make dialogs modal
That is, do not allow another view to get focus upon clicking a pointer
button.
2018-12-25 20:29:24 +01:00
Jente Hidskes
e68d76f403
Abstract fullscreen view away into a function 2018-12-25 20:29:23 +01:00
Jente Hidskes
0f3ce4a7d8
Remove renderer pointer from server struct 2018-12-25 20:29:23 +01:00
Jente Hidskes
1dcb6355ad
Make pointer visible on startup 2018-12-25 20:29:23 +01:00
Jente Hidskes
95372f3f37
Switch to Meson
This makes it easier to extend in the future. Also, it will make it
easier to add (un)install targets and eventually, distribute files such
as systemd services.
2018-12-25 20:29:23 +01:00
Jente Hidskes
429392ac63
Refactor desktop_view_at 2018-12-25 20:29:23 +01:00
Jente Hidskes
58a9f09617
Handle keyboard removal 2018-12-25 20:29:23 +01:00
Jente Hidskes
92ba822b10
Actually maximize the window.
It appears that wlr_xdg_toplevel_set_maximized does not actually change
the size of the surface. Rather, it only makes the surface think it is
maximized. Hence, we need to set the size to that of the output
manually.
2018-12-25 20:29:23 +01:00
Jente Hidskes
d819eedc62
Allow arguments to be passed to applications 2018-12-25 20:29:23 +01:00
Jente Hidskes
fda8e22d13
Remove support for multiple outputs
A kiosk is only ever attached to a single output.
2018-12-25 20:29:22 +01:00
Jente Hidskes
26d9917160
Initial commit 2018-12-25 20:29:22 +01:00