mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
Implement foreign toplevel close
This commit is contained in:
parent
7e57b7fcf5
commit
80f012602f
4 changed files with 26 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ action(struct view *activator, struct server *server, const char *action, const
|
|||
if (!strcasecmp(action, "Close")) {
|
||||
struct view *view = activator_or_focused_view(activator, server);
|
||||
if (view) {
|
||||
view->impl->close(view);
|
||||
view_close(view);
|
||||
}
|
||||
} else if (!strcasecmp(action, "Debug")) {
|
||||
/* nothing */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue