This is substantially confusing to users, namely me.
krh: Edited to just set grip size to zero.
int width, int height, int flags)
{
int vlocation, hlocation, location;
- const int grip_size = 8;
- int margin, top_margin;
+ int margin, top_margin, grip_size;
- margin = (flags & THEME_FRAME_MAXIMIZED) ? 0 : t->margin;
+ if (flags & THEME_FRAME_MAXIMIZED) {
+ margin = 0;
+ grip_size = 0;
+ } else {
+ margin = t->margin;
+ grip_size = 8;
+ }
if (flags & THEME_FRAME_NO_TITLE)
top_margin = t->width;