panel: Compute fractional width after reserving the margin, not before (issue #559)

This commit is contained in:
o9000
2016-03-24 20:58:09 +01:00
parent 7b6ce97940
commit 9150a180fa
3 changed files with 12 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ typedef struct Panel {
// position relative to root window
int posx, posy;
int marginx, marginy;
int fractional_width, fractional_height;
gboolean fractional_width, fractional_height;
int monitor;
int font_shadow;
gboolean mouse_effects;