Change mouse binding for better windows floating managment
This commit is contained in:
parent
93531f44dd
commit
bd8f33bc87
1 changed files with 4 additions and 6 deletions
10
config.py
10
config.py
|
@ -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'},
|
||||||
|
|
Reference in a new issue