Consolatis
e87aa19066
Fix dynamic output based scaling for menu and SSD
...
wlr_scene_buffers need an additional wlr_scene_buffer_set_source_box()
to be scaled correctly by wlroots based on the output scale.
With this commit the buffers are now scaled correctly but, especially
on higher scale factors, may be a bit blurry.
In the future we likely want a dynamic font label generator based
on the maximal scale of all the outputs the specific buffer is currently on.
Some inspiration for that could be
https://github.com/Nefsen402/sway/blob/scene-graph/sway/sway_text_buffer.c
Fixes #348
2022-05-29 22:10:00 +02:00
Consolatis
bda48da68d
Deal with font_buffer_create() failures
2022-05-26 22:19:56 +01:00
Consolatis
163179dda1
Chase wlroots: wlr_scene_surface
...
To update the wlroots subproject use
meson subprojects update wlroots
2022-05-26 06:48:00 +01:00
Johan Malm
60966f5fde
src/ssd/ssd.c: remove superfluous WLR_ERROR log message
2022-04-28 22:33:56 +01:00
Johan Malm
5b34c81768
Fix trivial coding style breaches
2022-04-04 20:53:36 +01:00
Consolatis
4ee9f351ea
ssd_extents: force initial manual ssd_extents update for x11 clients
2022-03-12 15:32:44 +00:00
Consolatis
3171aba0e2
ssd: dynamically adjust resize extents based on usable_area
...
Fixes #265
2022-03-12 15:32:44 +00:00
Consolatis
e086f6f5e0
ssd: move top border above titlebar
2022-03-12 15:32:44 +00:00
Consolatis
e4f1f9a975
ssd: use dynamic titlebar height based on font size and padding
2022-03-12 15:32:44 +00:00
Consolatis
3bb44fc9f2
ssd: increase resize corners
2022-03-12 15:32:44 +00:00
Johan Malm
a601615866
ssd: add top border
...
Raise border on top of (z-order) titlebar
2022-03-06 17:06:14 +00:00
Consolatis
5deeca833f
ssd: Disable resize extents while in maximized or fullscreen state
2022-03-04 20:02:57 +00:00
Consolatis
7d98bc7aa2
ssd/ssd_titlebar.c: Only store title state if title has been changed
2022-02-24 06:56:25 +00:00
Consolatis
c033667716
src/ssd/: Don't access view->surface->current directly
...
Instead use view->{w,h} which are set on client commit
2022-02-24 06:56:25 +00:00
Consolatis
29021dad6a
xdg/xwayland: Do not destroy scene node on unmap
...
This prevents segfaulting when unminimizing
2022-02-23 21:47:01 +00:00
Consolatis
5862b65f89
Convert SSD to scene nodes
2022-02-23 21:47:01 +00:00