This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit 09707f479aabdc70151a0b241ff0a981d05c6c7e
Author: Kim Woelders <[email protected]>
AuthorDate: Sat Mar 28 13:44:43 2026 +0100
edge: Re-enable button press/release events on top/bottom edge windows
Were disabled by dee8d4f36925f66f63925726b542289b18bef273.
The reason they were disabled was that I have many applications with
scrollbar left or right, often near the desk edge.
It was very easy to accidentally scroll in the edge window instead of
in the application scrollbar, annoyingly flipping the desk instead
of scrolling the application pane.
However, Christian Klein says:
Unfortunately, there is a regression for my use case:
I am using multiple virtual desktops and switch between them using the mouse
scroll wheel.
Since I use several full-screen applications, I normally use this feature by
moving the mouse cursor to the very top edge of the screen and then use the
scroll wheel. However, this no longer works with newer e16 releases.
So, let's re-enable the events only on the top/bottom edges.
---
src/edge.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/edge.c b/src/edge.c
index 5f62455f..61ffec11 100644
--- a/src/edge.c
+++ b/src/edge.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2022 Kim Woelders
+ * Copyright (C) 2004-2026 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -192,8 +192,9 @@ EdgeWindowCreate(int which, int x, int y, int w, int h)
eo = EobjWindowCreate(EOBJ_TYPE_EVENT, x, y, w, h, 0, names[which & 3]);
ESelectInput(EobjGetWin(eo), EnterWindowMask | LeaveWindowMask);
- att.do_not_propagate_mask =
- ButtonPressMask | ButtonReleaseMask | PointerMotionMask;
+ att.do_not_propagate_mask = PointerMotionMask;
+ if (which == EW_L || which == EW_R)
+ att.do_not_propagate_mask |= ButtonPressMask | ButtonReleaseMask;
EChangeWindowAttributes(EobjGetWin(eo), CWDontPropagate, &att);
EventCallbackRegister(EobjGetWin(eo), EdgeHandleEvents, INT2PTR(which));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.