mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
Add view_impl .close
This commit is contained in:
parent
b99977368d
commit
625722cb66
4 changed files with 19 additions and 4 deletions
|
|
@ -198,6 +198,9 @@ void cursor_button(struct wl_listener *listener, void *data)
|
|||
/* Focus that client if the button was _pressed_ */
|
||||
view_focus(view);
|
||||
switch (view_area) {
|
||||
case LAB_DECO_BUTTON_CLOSE:
|
||||
view->impl->close(view);
|
||||
break;
|
||||
case LAB_DECO_PART_TITLE:
|
||||
interactive_begin(view, LAB_CURSOR_MOVE, 0);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue