diff --git a/widget/app_launcher/prompt.lua b/widget/app_launcher/prompt.lua index 7c220c2..eb5621f 100644 --- a/widget/app_launcher/prompt.lua +++ b/widget/app_launcher/prompt.lua @@ -352,11 +352,8 @@ function prompt:stop() local wp = self._private wp.state = false - if self.reset_on_stop == true or wp.cur_pos == nil then - wp.cur_pos = wp.text:wlen() + 1 - end if self.reset_on_stop == true then - wp.text = "" + self:set_text("") end awful.keygrabber.stop(wp.grabber)