xfwm4: top border still present when window is maximized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfwm4 |
Fix Released
|
Wishlist
|
|||
xfwm4 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
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:/
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_
if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_
&& !FLAG_TEST (c->flags, CLIENT_
&& (!FLAG_TEST_ALL (c->flags, CLIENT_
|| !(c->screen_
{
return c->screen_
}
return 0;
}
Changed in xfwm4: | |
importance: | Unknown → Low |
status: | Unknown → Invalid |
Changed in xfwm4: | |
importance: | Low → Unknown |
status: | Invalid → Unknown |
Changed in xfwm4: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Changed in xfwm4: | |
status: | Confirmed → Fix Released |
Hi,
When a window is maximized so it fills the whole screen, its top border is still shown. The top border in this state is useless though, since it cannot be dragged to resize the maximized window. So it just wastes space.
For most xfwm4 styles/themes this doesn't actually look too bad. But with a theme with relatively thick window borders it can look quite ugly. To see what I mean, change the window manager style to "Mofit" then maximize a window.