Chase wlroots: wlr_scene_surface

To update the wlroots subproject use
meson subprojects update wlroots
This commit is contained in:
Consolatis 2022-05-26 00:39:04 +02:00 committed by Johan Malm
parent 3699a2a7f6
commit 163179dda1
9 changed files with 39 additions and 22 deletions

View file

@ -12,6 +12,7 @@
#include "labwc.h"
#include "theme.h"
#include "ssd.h"
#include "common/scene-helpers.h"
struct border
ssd_thickness(struct view *view)
@ -53,7 +54,8 @@ ssd_get_part_type(struct view *view, struct wlr_scene_node *node)
{
if (!node) {
return LAB_SSD_NONE;
} else if (node->type == WLR_SCENE_NODE_SURFACE) {
} else if (node->type == WLR_SCENE_NODE_BUFFER
&& lab_wlr_surface_from_node(node)) {
return LAB_SSD_CLIENT;
} else if (!view->ssd.tree) {
return LAB_SSD_NONE;