View | Details | Raw Unified | Return to bug 194135
Collapse All | Expand All

(-)src/client.c (-6 / +12 lines)
Lines 981-988 Link Here
981
        wc.width = c->width;
981
        wc.width = c->width;
982
        wc.height = c->height;
982
        wc.height = c->height;
983
983
984
        if (FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN))
985
        {
986
            clientUpdateFullscreenSize (c);
987
        }
988
984
        /* If client is maximized, we need to update its coordonates and size as well */
989
        /* If client is maximized, we need to update its coordonates and size as well */
985
        if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
990
        else if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
986
        {
991
        {
987
            GdkRectangle rect;
992
            GdkRectangle rect;
988
            myScreenFindMonitorAtPoint (screen_info,
993
            myScreenFindMonitorAtPoint (screen_info,
Lines 3538-3545 Link Here
3538
            continue;
3543
            continue;
3539
        }
3544
        }
3540
3545
3546
        if (FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN))
3547
        {
3548
            clientUpdateFullscreenSize (c);
3549
        }
3550
3541
        /* Recompute size and position of maximized windows */
3551
        /* Recompute size and position of maximized windows */
3542
        if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
3552
        else if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
3543
        {
3553
        {
3544
            maximization_flags = c->flags & CLIENT_FLAG_MAXIMIZED;
3554
            maximization_flags = c->flags & CLIENT_FLAG_MAXIMIZED;
3545
3555
Lines 3553-3562 Link Here
3553
            wc.height = c->height;
3563
            wc.height = c->height;
3554
            clientConfigure (c, &wc, CWX | CWY | CWWidth | CWHeight, CFG_NOTIFY);
3564
            clientConfigure (c, &wc, CWX | CWY | CWWidth | CWHeight, CFG_NOTIFY);
3555
        }
3565
        }
3556
        else if (FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN))
3557
        {
3558
            clientUpdateFullscreenSize (c);
3559
        }
3560
        else
3566
        else
3561
        {
3567
        {
3562
            configure_flags = CFG_CONSTRAINED | CFG_REQUEST;
3568
            configure_flags = CFG_CONSTRAINED | CFG_REQUEST;

Return to bug 194135