Public bug reported:

Hi,

When a window is maximized, its borders/decoration should not be
visible. With xfwm4 however, when you maximize a window its top border
remains visible. But in the maximized state the top border is useless
(clicking and dragging it does nothing), it just wastes screen space.

Most xfwm4 themes have very thin borders, so this issue is not very
visually obvious. However with a theme that has thicker borders (e.g.
the "Mofit" theme) it looks quite ugly.

I reported this bug upstream, see https://bugzilla.xfce.org/show_bug.cgi?id=7436
In the mean time, it would be good if it could be fixed in Ubuntu. I believe 
the fix involves adding a couple of lines to the  frameTop() function in 
src/frame.c, like this:

int
frameTop (Client * c)
{
    TRACE ("entering frameTop");

    g_return_val_if_fail (c != NULL, 0);
    if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_HAS_BORDER)
        && !FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN)
        && (!FLAG_TEST_ALL (c->flags, CLIENT_FLAG_MAXIMIZED)     // This 
condition added
            || !(c->screen_info->params->borderless_maximize)))  // This 
condition added
    {
        return c->screen_info->title[TITLE_3][ACTIVE].height;
    }
    return 0;
}

** Affects: xfwm4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/904958

Title:
  xfwm4: top border still present when window is maximized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/904958/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to