Double click to maximize or normalize the main window

Signed-off-by: Yanguam <rara@qsanguosha.org>