Commit graph

349 commits

Author SHA1 Message Date
Xtr126
e11535db7d Change toggle key to F10 2024-09-16 09:36:45 +05:30
Xtr126
b18f138aa2 Update cage_xtmapper.sh 2024-09-16 09:36:10 +05:30
Xtr126
506ee8d4e4 Update cage_xtmapper.sh 2024-08-24 15:39:23 +05:30
Xtr126
a466924e8c
Update cage_xtmapper.sh 2024-07-11 10:15:36 +05:30
Xtr126
862d1fb1d2
Update cage_xtmapper.sh 2024-07-11 09:49:19 +05:30
Xtr126
d15e4ab409 Add cage_xtmapper.sh 2024-07-11 09:17:32 +05:30
Xtr126
b1551b1259
Update togglekey.h 2024-07-11 08:40:58 +05:30
Xtr126
8da4433ed1
Update togglekey.h 2024-07-11 08:07:33 +05:30
Xtr126
a476069bd7 Add toggle key 2024-07-11 08:03:32 +05:30
Xtr126
19a59384fe Update x11 patch 2024-05-26 23:18:56 +05:30
Xtr126
57283978ca add wlroots x11 confine pointer patch 2024-05-26 22:48:48 +05:30
Xtr126
eccc5e516a wlroots: enable x11 backend 2024-05-26 21:01:05 +05:30
Xtr126
b1d3a81667 add wlroots wayland backend patches 2024-05-04 11:05:11 +05:30
Xtr126
8de5818580 wlroots: disable x11 backend 2024-05-02 18:13:04 +05:30
Xtr126
d38bdb5593 wlroots: confine pointer 2024-05-02 11:32:47 +05:30
Xtr126
7b907bcbb9 fix: set line buffering 2024-04-30 19:24:08 +05:30
Xtr126
7656b3f2f5 enable only x11 backend for wlroots 2024-04-30 18:37:13 +05:30
Xtr126
f462768ece disable Xwayland 2024-04-30 18:31:11 +05:30
Xtr126
aabb567b49 fix: round to integer 2024-04-27 18:50:58 +05:30
Xtr126
6f9b1ea9ef fix: dont send mouse input to client 2024-04-27 18:17:20 +05:30
Xtr126
dcc2619d5f refactor: print keyboard and mouse keys 2024-04-26 00:47:17 +05:30
Xtr126
82f3853d69 refactor: embedding wlroots 2024-04-25 23:41:12 +05:30
Simon Ser
e7d8780f46 Add support for primary selection 2024-02-26 16:41:17 +01:00
Simon Ser
9d43282fa0 Add .editorconfig
Allows text editors to display files with the correct tab width.
2024-02-23 12:14:39 +01:00
Simon Ser
d07afac4ae output: fix assert when re-adding output to layout
wlr_scene_output_layout_add_output() aborts when called with an
already-added output.

To reproduce, run wlr-randr to reconfigure one of the enabled
outputs.
2024-02-23 12:14:00 +01:00
Simon Ser
767ccf9bbd output: use wlr_output_head_v1_state_apply()
No need to hand-roll this code, there is a wlroots helper for it.
Additionally, this fixes missing adaptive sync handling.
2024-02-20 11:01:41 +01:00
Supreeeme
b6f8f92585 xwayland: fix double wl_list_remove
When destroying an xwayland surface, the dissociate and destroy handlers
are called, but both of these were removing the map and unmap signal
handlers, causing a segfault when the destroy handler went to remove
them.
Fixes #309
2024-02-12 11:57:38 +01:00
Kenny Levinsen
8a009212bc output: Transition to wlr_output_state
We previously used the wlr_output's built-in pending state and
wlr_output_rollback. The modern state API is much nicer.
2024-01-26 23:45:57 +01:00
Kenny Levinsen
f0bc13bef7 output: Add scene output layout helper manually 2024-01-26 23:45:57 +01:00
Kenny Levinsen
63c0887664 output: Implement request_state event listener
wlroots backends no longer change state on their own, and instead send a
request_state event. Monitor this event and apply any state we receive.
2024-01-26 23:45:57 +01:00
Kenny Levinsen
c9d2f3afac meson: Bump minimum wlroots to 0.17 2024-01-26 23:45:57 +01:00
Kenny Levinsen
b40be06da2 ci: Upgrade wlroots to 0.17 2024-01-26 23:45:57 +01:00
Kenny Levinsen
67def26d83 ci: Fix Alpine xwayland dependency 2024-01-26 23:45:57 +01:00
Kenny Levinsen
c801544d61 meson: Convert xwayland option to feature type
wlroots as a subproject now yields the xwayland meson option to its
parent. We need to match the type for this to work. This also adds
support for auto mode, where xwayland is used if present but no warning
is given otherwise.
2024-01-26 23:45:57 +01:00
Kenny Levinsen
1ff7945ba1 Switch from wlr_idle to wlr_idle_notify_v1
The latter implemented the KDE protocol which has been dropped.
2024-01-26 23:45:57 +01:00
Kenny Levinsen
a30f2bcec1 Use new wlr_compositor_create signature 2024-01-26 23:45:57 +01:00
Kenny Levinsen
b55e40ad9d seat: New cursor/xcursor interface 2024-01-26 23:45:57 +01:00
Kenny Levinsen
2d4b7a4e23 shell: Use new map/unmap events
For xwayland we must listen on associate/dissociate to set up and tear
down the map/unmap event handlers instead of during surface
create/destroy.
2024-01-26 23:45:57 +01:00
Kenny Levinsen
4ea6a8b1a7 shell: Use new try_from surface getters 2024-01-26 23:45:57 +01:00
Kenny Levinsen
8df120dafd output: Use state field in wlr_output_event_commit 2024-01-26 23:45:57 +01:00
Kenny Levinsen
2f7ab094d4 output: Remove output mode handler
This is replaced by monitoring for WLR_OUTPUT_STATE_MODE on commit.
2024-01-26 23:45:57 +01:00
Kenny Levinsen
b51a6e950f output: wlr_scene_output_commit NULL options 2024-01-26 23:45:57 +01:00
Kenny Levinsen
b772a00df8 output: Call wlr_scene_output_create 2024-01-26 23:45:57 +01:00
Kenny Levinsen
64e2a44124 output: Remove wlr_output_damage include 2024-01-26 23:45:57 +01:00
Kenny Levinsen
624355485a Use new wlr_backend_autocreate signature
The session is now stored explicitly, with wlr_backend_get_session being
dropped.
2024-01-26 23:45:57 +01:00
Simon Ser
34eb3ec2c8 Make Xwayland optional at runtime
Closes: https://github.com/cage-kiosk/cage/issues/293
2023-12-11 17:25:08 +01:00
Moon Sungjoon
1f3e3043dd CI: Set `fail-fast' to false
This allows other jobs to continue running even if one job fails
2023-11-22 15:21:03 +01:00
Jonathan GUILLOT
d40dd3bd99 cage: remove not really used variables in server initialization 2023-11-10 14:38:28 +01:00
Jonathan GUILLOT
2ab480910e cage: add relative-pointer-unstable-v1 support 2023-11-10 14:38:28 +01:00
Jonathan GUILLOT
efbf7c035b seat: move initial cursor center to dedicated function 2023-11-10 14:38:28 +01:00