commit fdba2f3
shrub
·
2026-03-06 20:09:16 +0000 UTC
parent b3a5bda
move to standalone repo
5 files changed,
+29,
-1
+26,
-0
1@@ -0,0 +1,26 @@
2+*.o
3+*.lo
4+.*.sw*
5+
6+protocol/server-decoration-protocol.c
7+protocol/server-decoration-server-protocol.h
8+protocol/swc-protocol.c
9+protocol/swc-server-protocol.h
10+protocol/wayland-drm-protocol.c
11+protocol/wayland-drm-server-protocol.h
12+protocol/xdg-decoration-unstable-v1-protocol.c
13+protocol/xdg-decoration-unstable-v1-server-protocol.h
14+protocol/xdg-shell-protocol.c
15+protocol/xdg-shell-server-protocol.h
16+protocol/linux-dmabuf-unstable-v1-protocol.c
17+protocol/linux-dmabuf-unstable-v1-server-protocol.h
18+
19+/.deps/
20+/swc.pc
21+/libswc/libswc.a
22+/libswc/libswc.so*
23+/launch/swc-launch
24+/cursor/convert_font
25+/cursor/cursor_data.h
26+/example/wm
27+
+1,
-0
1@@ -1149,6 +1149,7 @@ compositor_view_set_border_color(struct compositor_view *view, uint32_t outcolor
2
3 update(&view->base);
4 }
5+
6 /* }}} */
7
8 static void
+1,
-0
1@@ -427,6 +427,7 @@ pointer_initialize(struct pointer *pointer)
2 {
3 struct screen *screen = wl_container_of(swc.screens.next, screen, link);
4 struct swc_rectangle *geom = &screen->base.geometry;
5+
6 /* Center cursor in the geometry of the first screen. */
7 screen = wl_container_of(swc.screens.next, screen, link);
8 pointer->x = wl_fixed_from_int(geom->x + geom->width / 2);
+0,
-1
1@@ -48,7 +48,6 @@ get_subsurface(struct wl_client *client, struct wl_resource *resource,
2 wl_resource_post_no_memory(resource);
3 return;
4 }
5-
6 surface->subsurface = subsurface;
7 }
8
+1,
-0
1@@ -194,6 +194,7 @@ EXPORT void
2 swc_window_set_fullscreen(struct swc_window *base, struct swc_screen *screen)
3 {
4 struct window *window = INTERNAL(base);
5+
6 struct swc_rectangle geom;
7 swc_window_get_geometry(base, &geom);
8