shod

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4b8a5cd929c663cf98c3756cdaee4503d2e3f582
parent 4ad18368e0848e9477a9ea8d5eda9217d48f6c56
Author: Lucas de Sena <lucas@seninha.org>
Date:   Tue, 25 Jul 2023 14:47:35 -0300

resize draggable window when reloading theme

Diffstat:
Mxdraw.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/xdraw.c b/xdraw.c @@ -629,6 +629,12 @@ reloadtheme(void) FOCUSED, 0 ); + XResizeWindow( + dpy, + wm.dragwin, + 2 * config.borderwidth + config.titlewidth, + 2 * config.borderwidth + config.titlewidth + ); XSetWindowBackgroundPixmap(dpy, wm.dragwin, pix); XClearWindow(dpy, wm.dragwin); XFreePixmap(dpy, pix);