Jente Hidskes
23f8d609ce
output: check whether outputs are enabled
2020-01-11 17:07:33 +01:00
Jente Hidskes
a53dca91ce
Render popups separately from their toplevel view when possible
2020-01-11 17:07:33 +01:00
Jente Hidskes
2db815aa23
Refactor surface damaging and rendering code
...
This is based on code from Sway, which is also MIT licensed hence
compatible. This makes the surface damaging and rendering code easier to
follow and makes it easier to import future changes to Sway as well.
2020-01-11 17:07:33 +01:00
Tristan Daniel
bfd7d605b8
meson: require wlroots 0.9.1
...
And update CI builds accordingly.
2020-01-10 19:33:30 +01:00
Tristan Daniel
84216ca2a4
output: call wlr_output_rollback if not rendering
...
Required by wlroots 0.9.0.
2020-01-10 19:33:30 +01:00
Tristan Daniel
51e6c760da
Update new output handler for wlroots 0.9.0
...
Following breaking changes in wlroots 0.9.0, wlr_output_commit must be
called after wlr_output_set_mode, wlr_output_set_transform and wlr_output_enable.
Additionally, wlr_output_enable is no longer implicitly called by
wlr_output_set_mode.
Fixes #102
2020-01-06 11:49:57 +01:00
Jente Hidskes
8f6ffa1419
Use hard tabs
2020-01-05 13:42:17 +01:00
Jente Hidskes
651d579c30
seat: be explicit about output- and layout coordinates
...
This commit follows up on 95b7782c72
2020-01-05 13:16:01 +01:00
Jente Hidskes
530b32d496
xwayland: fix regression after 95b7782
...
Fixes #101
2020-01-05 12:59:26 +01:00
Jente Hidskes
1c59946e20
Rename view_damage_surface to view_damage_part
...
To better align it with its counterpart view_damage_whole
2019-12-29 22:54:25 +01:00
Jente Hidskes
95b7782c72
Be explicit about output- and layout coordinates
2019-12-29 16:07:14 +01:00
Jente Hidskes
21229984ff
view: use output layout to set x,y coordinates
2019-12-29 13:17:47 +01:00
Jente Hidskes
22adaae715
output: log error when failing to allocate output
2019-12-26 17:25:22 +01:00
Kenny Levinsen
4e832c6aaf
Revert "Set title on outputs that the focused surface is intersecting with"
...
This reverts commit 915c6df244 .
2019-12-26 17:14:57 +01:00
Kenny Levinsen
edfe4e07ce
Avoid excessive log messages with multiple outputs
2019-12-26 17:14:57 +01:00
Kenny Levinsen
bcd0086f13
Set title on outputs that the focused surface is intersecting with
2019-12-26 17:14:57 +01:00
Kenny Levinsen
24f48966d8
Annotate wl_list link field
2019-12-26 17:14:57 +01:00
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