rem: restore_x = (wwin->flags.maximized & MAX_HORIZONTAL) ?
add: x = ((wwin->flags.maximized & MAX_HORIZONTAL) && wwin->old_geometry.x) ?
context: wUnmaximizeWindow(WWindow *wwin){    int restore_x, restore_y;    if (!wwin->flags.maximized)        return;    if (wwin->flags.shaded) {        wwin->flags.skip_next_animation = 1;        wUnshadeWindow(wwin);    }    restore_x = (wwin->flags.maximized & MAX_HORIZONTAL) ?        wwin->old_geometry.x : wwin->frame_x;    restore_y = (wwin->flags.maximized & MAX_VERTICAL) ?        wwin->old_geometry.y : wwin->frame_y;    wwin->flags.maximized = 0;    wWindowConfigure(wwin, restore_x, restore_y,                     wwin->old_geometry.width, wwin->old_geometry.height);    WMPostNotificationName(WMNChangedState, wwin, "maximize");    wSoundPlay(WSOUND_UNMAXIMIZE);}