Kenny Levinsen
739ba1fe65
Check calloc return value
2019-12-26 17:14:57 +01:00
Kenny Levinsen
06ada15661
Support multiple outputs
...
Outputs are arranged in a horizontal layout in the order they are
created in by wlroots. Maximized xdg_shell views will span all outputs,
like the global fullscreen mode in sway.
Fixes #87
2019-12-26 17:14:57 +01:00
Jente Hidskes
0aeba8085c
Replace all wayland-server.h includes with wayland-server-core.h
...
The documentation for `wayland-server.h` says:
> Use of this header file is discouraged. Prefer including
> wayland-server-core.h instead, which does not include the server protocol
> header and as such only defines the library PI, excluding the deprecated API
> below.
See also
ca45f4490c (diff-b57e10fe0774258a6d21b22077001cff)
2019-12-20 17:16:53 +01:00
Jente Hidskes
abfe6a66ca
README: refer to docs/
2019-12-20 17:05:00 +01:00
Jente Hidskes
7c6d6c75ae
Implement wlr_export_dmabuf_unstable_v1
2019-12-20 17:02:16 +01:00
Jente Hidskes
90e70c6882
Document environment variables
...
Fixes #93 .
2019-12-20 16:51:11 +01:00
Jente Hidskes
dd87c1fab5
Rename data_device_mgr to _manager
2019-12-20 12:35:41 +01:00
Jente Hidskes
65177466e7
Implement wlr-gamma-control-unstable-v1
...
Closes #20
2019-12-20 12:35:41 +01:00
Jente Hidskes
531cdc84b7
Fix the FreeBSD build
2019-12-18 21:51:05 +01:00
Jente Hidskes
436ad33db8
Update wlroots in CI builds to 0.8.1
2019-12-18 21:51:05 +01:00
Derek Wallace
33bb3c818c
Removed destructors per wlroots PR 1915
2019-12-18 21:30:29 +01:00
Ruben Vandamme
0fb513fb85
Set startup color to black.
2019-08-27 18:14:57 +02:00
Andri Yngvason
c13ada98de
Add xdg output manager
2019-08-25 18:14:01 +02:00
Andri Yngvason
da6b6c208e
Add screencopy
2019-08-25 18:14:01 +02:00
Jente Hidskes
69340921a4
CI: use a version of wlroots that compiles with libinput 1.14
...
See https://github.com/swaywm/wlroots/issues/1796
2019-08-25 17:48:07 +02:00
Jente Hidskes
016ef340d2
README: update email address
2019-07-09 14:25:33 +02:00
Jente Hidskes
35166e4e1b
README: use www subdomain
...
Fixes #76
2019-07-07 16:43:20 +02:00
Jente Hidskes
1ecba7e67c
Release Cage 0.1.1
...
A new tag for packagers to build Cage with wlroots 0.6.0.
Changelog:
* Update to wlroots 0.6.0
* Don't submit too much damage in damage tracking implementation
* Use XKB_* environment variables to configure keyboard devices
2019-06-03 19:55:52 +02:00
Jente Hidskes
6bb73b3658
meson: require wlroots 0.6.0
...
Missed in 9354781f32
2019-05-03 23:33:50 +02:00
Jente Hidskes
1de6054d7e
seat: use XKB_* env vars for configuring keyboard devices
...
Fixes #66
2019-05-03 21:32:58 +02:00
Jente Hidskes
b16fc7d780
output: use the output's preferred mode
...
On outputs that have modes, we need to set one before we can use it. We
pick the preferred mode, or if this is not advertised, the last listed
mode. This mode is generally the mode with the highest resolution.
Fixes #10
2019-05-03 21:14:51 +02:00
Jente Hidskes
5af455a905
output: fix damage tracking debug mode
...
We want to damage the whole output in this mode. However if we overwrite
the damaged region after it's useless.
See
8b1220f5a3 (diff-95fe5e5b411cc64a5dc31e2b72669a0d)
2019-05-03 21:07:40 +02:00
Jente Hidskes
f23257d170
output: don't submit too much damage
...
See https://github.com/swaywm/wlroots/issues/1666#issue-436967396 and
the linked changes
https://github.com/swaywm/wlroots/pull/1668/files#diff-95fe5e5b411cc64a5dc31e2b72669a0d
2019-05-03 21:03:09 +02:00
Drew DeVault
9354781f32
Update to wlroots 0.6.0
2019-05-03 21:03:09 +02:00
Jente Hidskes
887c855a3b
CI: use wlroots 0.6.0
2019-05-03 21:03:09 +02:00
Jan Beich
61894994f3
Cage: drop root on startup like Sway
...
wlroots may need setuid to run on DRM if built without (e)logind
support.
2019-05-01 13:38:19 +02:00
Jan Beich
3fb89563ae
Switch to system epoll-shim.pc in FreeBSD build
2019-04-27 20:27:23 +02:00
Michael Vetter
c69d394bed
Set version to 0.1
...
Since we now have a tag with 0.1 and also a release with that version
number was published on GitHub we should adjust the version in the meson
file too.
2019-04-24 21:18:12 +02:00
Jente Hidskes
2eb28ce216
README: set logo size in px
2019-04-24 21:01:50 +02:00
Jente Hidskes
fa5142e773
README: add logo and signed release note
2019-04-23 22:53:23 +02:00
Jente Hidskes
cf06e42687
CI: add a FreeBSD build on Sourcehut
2019-04-22 18:43:19 +02:00
Jente Hidskes
5bfedaf84f
CI: add an Alpine Edge build on Sourcehut
2019-04-22 18:43:19 +02:00
Jente Hidskes
46441ff85a
CI: add an Arch Linux build on Sourcehut
2019-04-22 18:43:19 +02:00
Jente Hidskes
90498e85d5
Cage: print the correct variable
2019-04-22 18:43:19 +02:00
Tristan Daniel
9e6a5ad44f
Cage: implement output transform
...
This commit adds the command line switch -r, which rotates the output 90
degrees clockwise and can be specified up to three times.
2019-04-14 08:31:33 +02:00
Jente Hidskes
69872baead
Cage: encapsulate debug specific behavior
2019-03-23 20:18:37 +01:00
Jente Hidskes
78fc6fbe0d
Cage: fix previous commit
2019-03-23 20:18:13 +01:00
Jente Hidskes
d855ea6718
Cage: update for wlroots 0.5.0
2019-03-23 16:42:31 +01:00
Jente Hidskes
eee63b8001
meson: require wlroots >= 0.41.0
2019-02-28 19:26:07 +01:00
Drew DeVault
da62449c27
Update for wlroots 0.4
2019-02-28 19:24:43 +01:00
Jente Hidskes
848929c88c
Cage: exit when there is no application passed
...
This regression was introduced in 667667505a
due to wrongfully handling optind.
2019-02-26 18:56:23 +01:00
Jente Hidskes
c2226da89b
README: document to build against wlroots tags
...
Fixes #52 .
2019-02-26 18:33:50 +01:00
Jente Hidskes
b189f90465
meson: -Werror is already set in project()
2019-02-24 13:41:34 +01:00
Jente Hidskes
b758e421cb
Cage: bail when there is no xdg decoration manager
2019-02-24 00:29:22 +01:00
Jente Hidskes
cd0c51814f
Cage: implement server-decoration protocol
...
GTK still uses the (now deprecated) server-decoration protocol, which is
the predecessor to xdg-decoration. Hence, with this commit Cage now also
hides decorations on applications such as Firefox.
Fixes #47 , see also
https://github.com/Hjdskes/cage/pull/45#issuecomment-466402865 .
2019-02-24 00:29:22 +01:00
Jente Hidskes
1ef3843839
Wrap x11 backend features in wlroots' feature flag
...
Fixes #46
2019-02-23 23:05:54 +01:00
Jente Hidskes
1c5cbe6de0
Cage: don't destroy wlr_backend manually
...
The backend gets destroyed automatically when the wl_display is
destroyed, so we're getting a use-after-free when we do this ourselves
again.
Fixes #44
2019-02-23 19:49:01 +01:00
Jente Hidskes
65f7107078
cage: fix signal handler event source memory leaks
2019-02-21 11:38:30 +01:00
Jente Hidskes
707cb2cdfc
seat: fix memory leak when explicitly destroying the seat
2019-02-21 11:35:43 +01:00
Jente Hidskes
2166fbdcfb
Implement xdg-decoration
...
This commit adds a commandline switch (-d) to disable client side
decorations, if possible. In this case, Cage will not draw any
decorations of its own, in order to maximize screen real estate.
The default behavior remains the same, i.e., if -d is not passed,
clients will draw their client side decorations, if any.
Fixes #32
2019-02-21 09:14:59 +01:00