Eric Engestrom
3e8081514d
Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik
5ff3fb1c04
Set pointer pos before focusing view under it
9 years ago
Mikkel Oscar Lyderik
f8b260d4a1
Add support for bincode command
...
If a bindsym and bincode maps to the same combination, the last one will
overwrite any previous mappings.
9 years ago
Mikkel Oscar Lyderik
55f63935ab
Implement bindsym --release
...
This is a "simple" version of --release (same as i3) that only supports
a binding that contain one normal key. e.g.:
bindsym --release $mod+x exec somthing-fun
I didn't bother implementing it for a combination like `$mod+x+z` since
it is a bit tricky to get right and also a bit weird to actually do on a
keyboard.
9 years ago
Mikkel Oscar Lyderik
7727c9efbc
Detect bar modifier pressed/released
9 years ago
Mikkel Oscar Lyderik
e62c49f83c
Fix overwriting current pressed keys.
...
This fixes a bug where the key at index 0 in the `key_state_array` would
be overwritten by the next pressed key. This broke any bindings
consisting of multiple non-mod keys like: `$mod+a+b`.
9 years ago
Mikkel Oscar Lyderik
82af08d8e9
Lookup dragging key when in dragging mode
...
Fixes bug introduced in 22916e9
where dragging of floating windows was
messed up.
9 years ago
Mikkel Oscar Lyderik
0aeee6963d
Make mouse key used for drag/resize configurable
...
This makes it possible to define what mouse button key (left|right) to
use for dragging/resizing.
9 years ago
Drew DeVault
4d17aa9919
Revert "Make mouse key used for drag/resize configurable"
...
This reverts commit 22916e9ebc
.
9 years ago
Mikkel Oscar Lyderik
22916e9ebc
Make mouse key used for drag/resize configurable
...
This makes it possible to define what mouse button key (left|right) to
use for dragging/resizing.
9 years ago
Drew DeVault
cd161aa985
We somewhat more wlc_point now
...
Apparently I missed some
cc @Cloudef
9 years ago
S. Christoffer Eliesen
5ba47d4a44
input_state: Remove mouse_origin (x&y). Query wlc instead.
9 years ago
S. Christoffer Eliesen
78ca619769
commands: Learn mouse_warping.
...
Place mouse at center of focused view when changing to a workspace on a
different output, if option is enabled. (This replicates existing i3
option.)
This can be triggered in multiple ways:
A) via `workspace <name>` which changes output
B) via `focus <direction>` which changes output
C) via `focus output <name>` which (obviously) changes output
9 years ago
S. Christoffer Eliesen
4799d07ac1
input_state: Extract 'pointer_position_set' function from handlers.
9 years ago
taiyu
1820b3f0bb
move function redone
9 years ago
taiyu
08faffdd76
dont swap floating containers
9 years ago
taiyu
d115335951
move workspace from dead output to other output
9 years ago
taiyu
dbad30a409
add limit to swayc_in_direction
9 years ago
taiyu
51ab3c9180
merge
9 years ago
Drew DeVault
1ac0c8cd47
Refactor keyboard to consider modified keysyms
...
Press Shift
Press 0 # Reads as ')'
Release Shift
Release 0 # Reads as '0' but we now recognize it as the same
9 years ago
taiyu
d72cc92541
style
9 years ago
taiyu
299406a048
slight fix
9 years ago
taiyu
f53ce887e8
fixed container resize oddity
9 years ago
taiyu
f24b78898a
dont swap view with workspace...
9 years ago
taiyu
a4ded14991
small change
9 years ago
taiyu
42d5d9a177
mouse tile resize mode done
9 years ago
taiyu
e139de0857
floating/tiling move + floating resize cleaned and fixed
9 years ago
Luminarys
ad72abb58f
Removed ugly intializer for pointer_state
9 years ago
Luminarys
a8eab5492a
Added in proper resize locking
9 years ago
Luminarys
97bd548456
More minor fixes
9 years ago
Luminarys
de86c5f4ea
Cleanup and minor fixes
9 years ago
Drew DeVault
464b49eda2
Merge pull request #101 from Luminarys/master
...
Added in basic resizing command.
9 years ago
Luminarys
461da7f87f
Added in bspwm like mouse resizing
9 years ago
Drew DeVault
3a5fce339f
Reset key buffer on reload
...
To preserve my sanity
9 years ago
taiyu
f5fde7c45c
style
9 years ago
taiyu
ba6034e8c8
changes
9 years ago
taiyu
5ff0619ca1
input state, find_container_in_direction
9 years ago