Consolatis
e4f1f9a975
ssd: use dynamic titlebar height based on font size and padding
2022-03-12 15:32:44 +00:00
Johan Malm
6b8c10dcd4
view: show fullscreen views above top-layer
...
See https://github.com/LBCrion/sfwbar/issues/24
2022-03-07 21:20:44 +00:00
Consolatis
4c981b845f
include/ssd.h remove unnecessary struct definition
...
Instead, just tag the struct so we can reference it.
2022-02-25 21:52:10 +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
7ea733761b
Use view->scene_tree as toplevel for view + some legwork:
...
desktop.c move_to_front() calls wlr_scene_node_raise_to_top
desktop.c, ssd/include.h add LAB_SSD_{OSD, MENU, LAYER_SURFACE} enums
desktop.c desktop_surface_and_view_at() -> desktop_node_and_view_at()
cursor.c reenable cursor_rebase()
cursor.c reenable button click on layer surface
2022-02-23 21:47:01 +00:00
Consolatis
413811f3a2
Use proper enum argument type for desktop_surface_and_view_at
2022-01-30 21:23:15 +00:00
Consolatis
7ecae4afce
Move is_button() into src/ssd.c and make it public
2022-01-30 21:23:15 +00:00
Consolatis
b7b1e8064f
Add WindowMenu button
2022-01-26 06:17:41 +00:00
bi4k8
d84103d669
define ssd_part_contains to define the mouse context subset relation
2021-12-02 17:58:31 +00:00
bi4k8
b008917895
implement handling for Client, Frame, and Root/Desktop (conflated for now) mouse contexts
2021-12-02 17:58:31 +00:00
Johan Malm
e227de1346
Add SPDX identifiers
2021-11-13 21:56:53 +00:00
alex
92891b4dfa
change mousebind code to use already existing enums
...
Also added an #include statement to ssd.h so it would compile without
depending on other headers to be #included before it
2021-09-01 07:05:37 +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
Johan Malm
f857aea8f4
ssd: add application title to title bar
2021-08-07 09:35:53 +01:00
Johan Malm
1dc3059707
ssd: add support for interacting with bottom corners
2021-07-26 20:37:36 +01:00
Johan Malm
399322052b
ssd: add ssd_interactive_box()
...
...which is used by desktop_view_at() and ssd_at() to determine which
decoration part is under the cursor.
ssd_interactive_box() allows deocoration parts to extend outside the
visible regions, and therefore supports a wider 'resize-edges' area than
the border itself.
2021-07-26 20:06:52 +01:00
Johan Malm
e50bb45890
Move corner textures from ssd.c to theme.c
...
It makes more sense to just keep one set of corner textures for server
side view decorations, rather than storing a set for each view. This also
keeps the code simpler when when changing theme parameters.
2021-07-16 17:07:00 +01:00
Johan Malm
fdfb12b2ce
Added support for rounded corners
2021-03-27 21:04:12 +00:00
Johan Malm
2a48f2801b
Create a linked list of SSD for each view
2021-03-21 21:46:16 +00:00
Johan Malm
fc76100fd5
Add ssd.h
2021-03-21 20:54:55 +00:00