-- Make sure clients and titlebars don't share bids. Both will trigger, -- and that will cause problems. See buttons.lua return function(client) return gears.table.join( awful.button( {}, 1, function() client:emit_signal("request::activate", "titlebar", {raise = true}) awful.mouse.client.move(client) end ), awful.button( {}, 3, function() client:emit_signal("request::activate", "titlebar", {raise = true}) awful.mouse.client.resize(client) end ) ) end