1
0
Fork 0

Change mouse binding for better windows floating managment

This commit is contained in:
Ethanell 2020-02-10 13:53:49 +01:00
parent 93531f44dd
commit bd8f33bc87

View file

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