mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
deco: add missing return type
This commit is contained in:
parent
eabeb70081
commit
814ea5cb11
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ struct wlr_box deco_box(struct view *view, enum deco_part deco_part)
|
||||||
if ((view->surface->current.width < 1) ||
|
if ((view->surface->current.width < 1) ||
|
||||||
(view->surface->current.height < 1)) {
|
(view->surface->current.height < 1)) {
|
||||||
warn("view (%p) has no width/height", view);
|
warn("view (%p) has no width/height", view);
|
||||||
return;
|
return box;
|
||||||
}
|
}
|
||||||
switch (deco_part) {
|
switch (deco_part) {
|
||||||
case LAB_DECO_BUTTON_CLOSE:
|
case LAB_DECO_BUTTON_CLOSE:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue