wlt: toolkit: add maximize toggle functionality
authorScott Moreau <oreaus@gmail.com>
Sat, 29 Sep 2012 07:10:01 +0000 (01:10 -0600)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 29 Sep 2012 08:34:00 +0000 (10:34 +0200)
commitf612529141cd27eead0ab00de41de86e023a1b12
tree68adabe7a8d8887411928448b5420a3f57f3c9c5
parent522d2aa2052e0ce16859943ba479cab5b50e04d7
wlt: toolkit: add maximize toggle functionality

Use wl_shell_surface_set_maximized() to notify the compositor that we
support being maximized now. The server actually decides whether it
resizes our window.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_theme.c
src/wlt_toolkit.c
src/wlt_toolkit.h