diff --git a/config.py b/config.py index 010daa2..b9d856f 100644 --- a/config.py +++ b/config.py @@ -165,18 +165,16 @@ screens = [ # Drag floating layouts. mouse = [ - Drag([mod], "Button1", lazy.window.set_position_floating(), - start=lazy.window.get_position()), - Drag([mod], "Button3", lazy.window.set_size_floating(), - start=lazy.window.get_size()), - Click([mod], "Button2", lazy.window.bring_to_front()) + Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()), + Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()), + Click([mod], "Button2", lazy.window.toggle_floating()), ] dgroups_key_binder = None dgroups_app_rules = [] # type: List follow_mouse_focus = True -bring_front_click = True +bring_front_click = False cursor_warp = False floating_layout = layout.Floating(float_rules=[ {'wmclass': 'confirm'},