summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Harms <wharms@bfs.de>2017-09-24 16:19:40 +0200
committerWalter Harms <wharms@bfs.de>2017-09-24 16:19:40 +0200
commit99b0d80d4cf8d4b2365d6f7785296ae3cfb0887a (patch)
tree5449deda5bbe0ee8157d83d02882fe6e5c7d005f
parentf9174d18c950ca998084da6d68903a32cae72d84 (diff)
same time ago the user Frederic Baldit complained (on xorg) that
the ability to set single dots in the programm Bitmap depend on the state of num_lock. This is a long standing bug that affect all versions of bitmap. the problem was that the corresponding function was erroneously checking event->xbutton.state. Removing that check solved the problem for the user. Signed-off-by: wharms <wharms@bfs.de>
-rw-r--r--Handlers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Handlers.c b/Handlers.c
index 4763451..c29c0b3 100644
--- a/Handlers.c
+++ b/Handlers.c
@@ -67,7 +67,6 @@ DragOnePointHandler(Widget w,
switch (event->type) {
case ButtonPress:
- if (event->xbutton.state != status->state) return;
if (!QuerySet(status->at_x, status->at_y)) {
BWStoreToBuffer(w);
status->value = Value(BW, event->xbutton.button);