From 95da69182dcfa19b1e21abc9b1803bab941bff66 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Fri, 1 Apr 2016 14:58:29 +0300
Subject: [PATCH] (edit_restore_size): uncapture the mouse.
---
src/editor/editwidget.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/editor/editwidget.c b/src/editor/editwidget.c
index 3af1f11..30aef2b 100644
a
|
b
|
static void |
212 | 212 | edit_restore_size (WEdit * edit) |
213 | 213 | { |
214 | 214 | edit->drag_state = MCEDIT_DRAG_NONE; |
| 215 | WIDGET (edit)->mouse.forced_capture = FALSE; |
215 | 216 | widget_set_size (WIDGET (edit), edit->y_prev, edit->x_prev, edit->lines_prev, edit->cols_prev); |
216 | 217 | dlg_redraw (WIDGET (edit)->owner); |
217 | 218 | } |