Consolatis
2ed7a10779
Chase wlroots: every scene_node parent is now a tree
...
Chases wlroots ccd0f85c2a36308e35b153c7f9653abac7659af3
wlr_scene: Only allow parenting on a wlr_scene_tree
2022-06-07 07:13:37 +01:00
Consolatis
3f65a2ff77
Chase wlroots: wlr_scene is now a tree node
...
Chases wlroots 9eb71146ae56c509ee33c7e8a662549592aad870
wlr_scene: Refactor wlr_scene (the root element) to encase a wlr_scene_tree
2022-06-07 07:13:37 +01:00
Consolatis
d8a877749e
Chase wlroots xdg_shell version
...
To update the wlroots subproject use
meson subprojects update wlroots
2022-05-18 14:04:22 +02:00
Johan Malm
420ff8c8d9
server.c: remove redundant TODO comment
2022-04-26 21:58:23 +01:00
Johan Malm
edc5338af4
Add command line option -C to specify config directory
...
Also expand usage message to explain what each option means
2022-04-22 17:00:36 +01:00
Johan Malm
c7aaa8dd61
Print deprecation notice when running SUID
...
Tracking swaywm/sway@e1db1f8
Add soft deprecation warning to highlight future intent of removing the
code which drops SUID privileges. libseat now has a better alternative in
the form of seatd-launch which uses the normal seatd daemon & libseat
backend and takes care of SUID.
Fixes issue #212
2022-04-20 18:17:39 +01:00
Johan Malm
48c9e6fda0
osd: show alt-tab switcher center-aligned on all outputs
...
Fixes issue #283
2022-04-20 17:45:10 +01:00
Consolatis
6b4d9b9383
Add ToggleAlwaysOnTop action
2022-04-09 17:18:39 +01:00
Johan Malm
5b34c81768
Fix trivial coding style breaches
2022-04-04 20:53:36 +01:00
Joshua Ashton
57a937bdf2
output: Implement drm_lease_v1
...
Needed for VR to work properly.
2022-03-28 21:13:51 +01:00
bi4k8
c23397f362
support wlr-output-power-management
2022-03-08 20:07:51 +00:00
Johan Malm
98d5fd483d
layers: s/arrange_layers/layers_arrange/
...
Because we like to start public function names with the name of the
file.
Move prototype from labwc.h to layers.h
2022-03-02 20:29:29 +00:00
Johan Malm
04580fa825
layers: arrange layers on output-layout change
2022-03-02 20:26:09 +00:00
Johan Malm
bd9ac3478a
Remove src/damage.c
2022-03-01 20:54:52 +00:00
Johan Malm
c0f369aafb
Enable presentation time
2022-02-28 22:30:36 +00:00
Consolatis
a2523081e2
Handle 'lost' unmanaged xsurfaces + improve cursor handling
2022-02-23 21:47:01 +00:00
Consolatis
5862b65f89
Convert SSD to scene nodes
2022-02-23 21:47:01 +00:00
Consolatis
f2d40a8d69
Scene Menu
2022-02-23 21:47:01 +00:00
Consolatis
044388a5cd
Prepare to move from wlr_texture to lab_data_buffer
2022-02-23 21:47:01 +00:00
Johan Malm
b79744e7b0
Chase wlroots master
...
We need it for wlr_scene_layer_surface_v1_create()
2022-02-23 21:47:01 +00:00
Johan Malm
532656ad5b
Use wlroots scene-graph API
...
Move xdg-shell and xwayland-shell surfaces to new API
Also render alt-tab on-screen-display by converting cairo-surface to
wlr_buffer
2022-02-23 21:46:48 +00:00
Consolatis
53df672dda
Reload environment on SIGHUP. Partly fixes #227
2022-02-08 06:08:12 +00:00
bi4k8
58ed11c99c
fix signal handlers
...
avoid segfaulting sigint/sigterm handlers and drop an unused argument from sighup handler
2021-12-01 07:12:37 +00:00
Johan Malm
d50c2f2eac
Fix minor style violations
2021-11-26 19:27:50 +00:00
Jan Beich
3e5458fa24
server: chase swaywm/wlroots@fdf3169b41
...
ld: error: undefined symbol: wlr_backend_get_renderer
>>> referenced by output.c
>>> labwc.p/src_output.c.o:(render_rect)
>>> referenced by output.c
>>> labwc.p/src_output.c.o:(render_rect)
>>> referenced by output.c
>>> labwc.p/src_output.c.o:(render_texture)
>>> referenced 5 more times
Based on 5865af75cf
Based on a6538ced35
2021-11-21 07:52:19 +00:00
Joshua Ashton
8048f5f497
server: Expose viewporter
...
Needed for some games to fake modesets.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-10-20 18:49:22 +01:00
ARDiDo
f5072151a9
add pointer constraints
2021-10-17 22:32:25 +01:00
ARDiDo
d4e1791c88
Reconfigure inputs
2021-10-10 21:52:40 +01:00
Johan Malm
104f635b43
session.c: change "(foo*)" to "(foo *)"
2021-09-24 21:58:46 +01:00
Johan Malm
ebb632419b
*.c: add SPDX-License-Identifier
2021-09-24 21:45:48 +01:00
Johan Malm
a9042e3cde
Fix coding style following 824282dd
2021-08-25 19:59:49 +01:00
Daniel Barlow
ab9838888d
implement commented-out bit in seat_disinhibit_input
2021-08-24 21:24:08 +01:00
Daniel Barlow
eb2d0918ba
cleanup per PR review comments
2021-08-23 20:33:42 +01:00
Daniel Barlow
39b1d92f9b
implement input_inhibit protocol, needed for swaylock
...
this is in "it appears to work" state, though I blindly copy-pasted a little
more code than I'm happy with, so might benefit from a review
2021-08-22 21:30:42 +01:00
Johan Malm
8c96c65018
ssd: refactor in preparation for making ssd_visible_box() private
...
Prepare to move code from output/render functions to ssd. We want
rendering functions to just render, not calculate decoration geometry
and such like.
2021-08-22 14:12:05 +01:00
Johan Malm
5f01c49b72
ssd: refactor and position title nearer left hand edge
...
Put title deco at the end of linked list to render it on top of corner
edges.
2021-08-22 14:06:11 +01:00
Daniel Barlow
44082ad80a
workaround Gtk primary selection bug by changing order of globals
...
This makes primary selections work at least with Emacs (pgtk backend)
and Firefox. I haven't tested others.
2021-08-21 00:17:15 +01:00
Johan Malm
86c384b227
server: update view->margin after theme change
2021-08-11 21:04:22 +01:00
Johan Malm
042ea266a5
Add simple foreign toplevel implementation
2021-08-05 12:18:10 +01:00
Johan Malm
d6376808b8
server: add missing header file
2021-08-02 16:45:49 +01:00
Johan Malm
2aeb4ee643
server: update ssd on re-configure
2021-07-30 19:42:56 +01:00
Johan Malm
82e47ac1f5
Remove src/common/log.c
...
Use wlr_log() instead
2021-07-23 21:15:55 +01:00
Johan Malm
20fd8f59a7
Remove info() and die()
2021-07-22 21:30:17 +01:00
Johan Malm
be27bb30a3
server: remove wl_display_init_shm()
...
This function is called by wlroots in wlr_renderer_init_wl_display(), so
no need to call it again. This stops Qt apps segfaulting when run with
"-platform wayland"
Fixes issue #34 item 2
2021-06-28 20:42:41 +01:00
Jan Beich
2ee21e9a82
server: chase swaywm/wlroots@4b03bdc3ab
...
src/server.c:93:63: error: too many arguments to function call, expected single argument 'display', have 2 arguments
server->backend = wlr_backend_autocreate(server->wl_display, NULL);
~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/wlr/backend.h:35:21: note: 'wlr_backend_autocreate' declared here
struct wlr_backend *wlr_backend_autocreate(struct wl_display *display);
^
Based on 53f5197c26
2021-03-13 23:23:33 +00:00
Johan Malm
de88b69d62
mv theme.c ..
2021-02-21 22:18:34 +00:00
Johan Malm
cb2a504440
theme: add theme_finish()
2021-02-21 22:03:14 +00:00
Johan Malm
1b263e1f67
Un-global theme variable
2021-02-21 21:54:40 +00:00
Johan Malm
9af7bd744f
Reload buttons in SIGHUP
...
Call xbm_load() from theme_init()
2021-02-21 21:14:06 +00:00
Johan Malm
6cdf3d68f3
menu: minor refactoring
2021-02-19 23:31:30 +00:00