diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xwidget.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index b0700b61e54..f95f5f1d7f7 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -2025,12 +2025,6 @@ using `xwidget-webkit-search'. */) | |||
| 2025 | webview = WEBKIT_WEB_VIEW (xw->widget_osr); | 2025 | webview = WEBKIT_WEB_VIEW (xw->widget_osr); |
| 2026 | controller = webkit_web_view_get_find_controller (webview); | 2026 | controller = webkit_web_view_get_find_controller (webview); |
| 2027 | webkit_find_controller_search_previous (controller); | 2027 | webkit_find_controller_search_previous (controller); |
| 2028 | |||
| 2029 | if (xw->find_text) | ||
| 2030 | { | ||
| 2031 | xfree (xw->find_text); | ||
| 2032 | xw->find_text = NULL; | ||
| 2033 | } | ||
| 2034 | unblock_input (); | 2028 | unblock_input (); |
| 2035 | #endif | 2029 | #endif |
| 2036 | 2030 | ||
| @@ -2063,6 +2057,12 @@ using `xwidget-webkit-search'. */) | |||
| 2063 | webview = WEBKIT_WEB_VIEW (xw->widget_osr); | 2057 | webview = WEBKIT_WEB_VIEW (xw->widget_osr); |
| 2064 | controller = webkit_web_view_get_find_controller (webview); | 2058 | controller = webkit_web_view_get_find_controller (webview); |
| 2065 | webkit_find_controller_search_finish (controller); | 2059 | webkit_find_controller_search_finish (controller); |
| 2060 | |||
| 2061 | if (xw->find_text) | ||
| 2062 | { | ||
| 2063 | xfree (xw->find_text); | ||
| 2064 | xw->find_text = NULL; | ||
| 2065 | } | ||
| 2066 | unblock_input (); | 2066 | unblock_input (); |
| 2067 | #endif | 2067 | #endif |
| 2068 | 2068 | ||