mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: add view_toggle_maximize()
This commit is contained in:
parent
d6376808b8
commit
526ab1ae75
5 changed files with 12 additions and 12 deletions
|
|
@ -68,10 +68,8 @@ static void handle_request_maximize(struct wl_listener *listener, void *data)
|
|||
{
|
||||
struct view *view = wl_container_of(listener, view, request_maximize);
|
||||
|
||||
if(view != NULL) {
|
||||
view_maximize(view, !view->maximized);
|
||||
}
|
||||
|
||||
assert(view);
|
||||
view_toggle_maximize(view);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue