equal
  deleted
  inserted
  replaced
  
    
    
|    280    if sloppy and |    280    if sloppy and | 
|    281       c ~= sloppy_last_client and |    281       c ~= sloppy_last_client and | 
|    282       awful.client.focus.filter(c) and |    282       awful.client.focus.filter(c) and | 
|    283       awful.layout.get(c.screen) ~= awful.layout.suit.magnifier |    283       awful.layout.get(c.screen) ~= awful.layout.suit.magnifier | 
|    284    then |    284    then | 
|    285       sloppy_timer:again() |    285       if sloppy_timer.started | 
|         |    286       then | 
|         |    287          sloppy_timer:again() | 
|         |    288       else | 
|         |    289          sloppy_timer:start() | 
|         |    290       end | 
|    286       sloppy_last_client = c |    291       sloppy_last_client = c | 
|    287    end |    292    end | 
|    288 end |    293 end | 
|    289  |    294  | 
|    290 function sloppy_on_timeout() |    295 function sloppy_on_timeout() | 
|    293       local c = awful.mouse.client_under_pointer() |    298       local c = awful.mouse.client_under_pointer() | 
|    294       if c and |    299       if c and | 
|    295          c == sloppy_last_client |    300          c == sloppy_last_client | 
|    296       then |    301       then | 
|    297          capi.client.focus = c |    302          capi.client.focus = c | 
|         |    303          sloppy_timer:stop() | 
|    298       end |    304       end | 
|    299     end |    305     end | 
|    300 end |    306 end | 
|    301  |    307  | 
|    302 sloppy = true |    308 sloppy = true | 
|    308    sloppy_timer:add_signal("timeout", sloppy_on_timeout) |    314    sloppy_timer:add_signal("timeout", sloppy_on_timeout) | 
|    309    sloppy_timer:start() |    315    sloppy_timer:start() | 
|    310    capi.client.add_signal("manage", function (c) |    316    capi.client.add_signal("manage", function (c) | 
|    311                              c:add_signal("mouse::enter", sloppy_mouse_enter) |    317                              c:add_signal("mouse::enter", sloppy_mouse_enter) | 
|    312    end) |    318    end) | 
|    313 end |    319    capi.client.add_signal("focus", function () sloppy_timer:stop() end) | 
|         |    320 end |