[repo.or.cz] wmaker-crm.git branch master updated: wmaker-0.96.0-63-ge45a3bc07d63

2 views
Skip to first unread message

crmafra

unread,
Feb 14, 2026, 11:11:11 AM (10 days ago) Feb 14
to wmake...@googlegroups.com
This is an automated email generated because a ref change occurred in the
git repository for project wmaker-crm.git.

The branch, master has been updated
via e45a3bc07d6356f57329c214e3fb32b87ad77669 (commit)
via bc16a03722a4980021408f6bd879295f2a879f47 (commit)
from 260415eb42553f452b9049c55b0f5011fff1c218 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e45a3bc07d6356f57329c214e3fb32b87ad77669
Author: David Maciejak <david.m...@gmail.com>
Date: Sat, 14 Feb 2026 10:11:34 -0500
URL: <https://repo.or.cz/wmaker-crm.git/e45a3bc07d6356f5>

wmaker: ignore mouse wheel when giving window focus

This patch is fixing a window focus issue by ignoring mouse wheel
up/down buttons. How to reproduce the issue:
open 2 xterm with one window overlapping the other, in 1 xterm list
files with ls to have the scrollbar to appear, click the other xterm
to give focus to its window, now mouse wheel up or down on the other
xterm, at that point the window is focused but under the other xterm.
Try to click left button to get it to appear on top, it will not work
cause the focus is set already on it. With that patch the click to
focus is working.
---
src/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/window.c b/src/window.c
index 80b384307b8f..e56bb638a77b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2978,7 +2978,7 @@ static void frameMouseDown(WObjDescriptor *desc, XEvent *event)

CloseWindowMenu(wwin->screen_ptr);

- if (!(event->xbutton.state & ControlMask) && !WFLAGP(wwin, no_focusable))
+ if (event->xbutton.button != Button4 && event->xbutton.button != Button5 && !(event->xbutton.state & ControlMask) && !WFLAGP(wwin, no_focusable))
wSetFocusTo(wwin->screen_ptr, wwin);

if (event->xbutton.button == Button1)

commit bc16a03722a4980021408f6bd879295f2a879f47
Author: David Maciejak <david.m...@gmail.com>
Date: Sat, 14 Feb 2026 09:58:26 -0500
URL: <https://repo.or.cz/wmaker-crm.git/bc16a03722a49800>

WINGs: fix compiler warnings on fontl example

The patch is fixing some compiler warnings about missing
noreturn keyword.
---
WINGs/Examples/fontl.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/WINGs/Examples/fontl.c b/WINGs/Examples/fontl.c
index a440a22c4c49..39cdb1d5f517 100644
--- a/WINGs/Examples/fontl.c
+++ b/WINGs/Examples/fontl.c
@@ -24,8 +24,9 @@
#include <WINGs/WINGs.h>
#include <WINGs/WUtil.h>
#include <inttypes.h>
+#include <stdnoreturn.h>

-void wAbort()
+noreturn void wAbort(void)
{
exit(0);
}
@@ -40,7 +41,7 @@ void show(WMWidget * self, void *data)
WMSetLabelText(l, buf);
}

-void quit(WMWidget * self, void *data)
+noreturn void quit(WMWidget * self, void *data)
{
(void) self;
(void) data;

-----------------------------------------------------------------------

Summary of changes:
WINGs/Examples/fontl.c | 5 +++--
src/window.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)


repo.or.cz automatic notification. Contact project admin crm...@gmail.com
if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive
no reply.
--
wmaker-crm.git ("The Window Maker window manager")
Reply all
Reply to author
Forward
0 new messages