src/ssd: Convert button node descriptors to struct ssd_button

This allows for way easier button hover detection and future
features like toggling rounded corner buttons on maximize.
This commit is contained in:
Consolatis 2022-06-08 19:51:02 +02:00
parent c6dc7e31ee
commit 77e0d0fbfd
8 changed files with 103 additions and 74 deletions

View file

@ -240,7 +240,6 @@ ssd_destroy(struct view *view)
hover_state = &view->server->ssd_hover_state;
if (hover_state->view == view) {
hover_state->view = NULL;
hover_state->type = LAB_SSD_NONE;
hover_state->node = NULL;
}