compositor: implement setMaximized