mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
Convert SSD title to scaled font buffer
This commit is contained in:
parent
b25965d03e
commit
05ae654547
3 changed files with 21 additions and 21 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "labwc.h"
|
||||
#include "ssd.h"
|
||||
#include "node.h"
|
||||
#include "common/font.h"
|
||||
|
||||
/* Internal helpers */
|
||||
static void
|
||||
|
|
@ -165,10 +166,8 @@ ssd_destroy_parts(struct wl_list *list)
|
|||
wlr_scene_node_destroy(part->node);
|
||||
part->node = NULL;
|
||||
}
|
||||
if (part->buffer) {
|
||||
wlr_buffer_drop(&part->buffer->base);
|
||||
part->buffer = NULL;
|
||||
}
|
||||
/* part->buffer will free itself along the scene_buffer node */
|
||||
part->buffer = NULL;
|
||||
if (part->geometry) {
|
||||
free(part->geometry);
|
||||
part->geometry = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue