summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-01-20 14:04:22 +0100
committerMatthias Melcher <github@matthiasm.com>2023-01-20 14:04:22 +0100
commit4f3f2bb30b5fc556cfc773fef1a3a2afd3f57cf9 (patch)
treed9999d6a46a4fc646af983bee06211d5677e8c71
parentab5cc5866dd5e5f885d06718674b7afd4740bc96 (diff)
STR 2909: Fl_Tile now forwards FL_RELEASE event to children
-rw-r--r--src/Fl_Tile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Tile.cxx b/src/Fl_Tile.cxx
index 0d81cb259..dd02d3757 100644
--- a/src/Fl_Tile.cxx
+++ b/src/Fl_Tile.cxx
@@ -252,7 +252,7 @@ int Fl_Tile::handle(int event) {
// This is necessary if CONSOLIDATE_MOTION in Fl_x.cxx is turned off:
// if (damage()) return 1; // don't fall behind
case FL_RELEASE: {
- if (!sdrag) return 0; // should not happen
+ if (!sdrag) break;
Fl_Widget* r = resizable(); if (!r) r = this;
int newx;
if (sdrag&DRAGH) {