[PATCH] wmaker: fix wire frame drawing when snapping
Skip to first unread message
david.m...@gmail.com
unread,
Mar 27, 2026, 5:29:29 PM (10 days ago) Mar 27
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Development
This patch is fixing the wire frame dimension which was computed wrongly when FrameBorderWidth was set and the window snapped top half or bottom half. In such case, drawTransparentFrame was passed the width and height of the screen while it should have used an inner frame size (meaning without frame border). The result bug was that the wire frame width was too large and the right edge displayed out of the monitor head. --- src/moveres.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/moveres.c b/src/moveres.c index c7dbf867..e6653e6c 100644 --- a/src/moveres.c +++ b/src/moveres.c @@ -457,11 +457,10 @@ static void drawTransparentFrame(WWindow * wwin, int x, int y, int width, int he GC gc = wwin->screen_ptr->frame_gc; int h = 0; int bottom = 0; +int fb = 0;