Commit graph

39 commits

Author SHA1 Message Date
Drew DeVault
416417a54c Reorganize includes 2016-09-01 08:18:37 -04:00
Mykyta Holubakha
e1b1d94a4e Arrange windows after swapping containers
Fixes #833
2016-08-05 02:07:03 +03:00
Eric Engestrom
3e8081514d Fix spelling mistakes 2016-04-02 16:00:05 +01:00
Mikkel Oscar Lyderik
5ff3fb1c04 Set pointer pos before focusing view under it 2016-02-27 13:18:55 +01:00
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.
2016-01-09 18:07:47 +01:00
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.
2016-01-07 21:43:00 +01:00
Mikkel Oscar Lyderik
7727c9efbc Detect bar modifier pressed/released 2016-01-05 00:49:44 +01:00
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`.
2016-01-04 23:26:40 +01:00
Mikkel Oscar Lyderik
82af08d8e9 Lookup dragging key when in dragging mode
Fixes bug introduced in 22916e9 where dragging of floating windows was
messed up.
2015-12-14 22:44:50 +01:00
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.
2015-12-14 22:31:34 +01:00
Drew DeVault
4d17aa9919 Revert "Make mouse key used for drag/resize configurable"
This reverts commit 22916e9ebc.
2015-12-14 08:57:00 -05:00
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.
2015-12-11 18:04:27 +01:00
Drew DeVault
cd161aa985 We somewhat more wlc_point now
Apparently I missed some

cc @Cloudef
2015-11-14 17:14:23 -05:00
S. Christoffer Eliesen
5ba47d4a44 input_state: Remove mouse_origin (x&y). Query wlc instead. 2015-10-29 18:02:02 +01:00
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
2015-10-29 17:41:33 +01:00
S. Christoffer Eliesen
4799d07ac1 input_state: Extract 'pointer_position_set' function from handlers. 2015-10-29 16:37:19 +01:00
taiyu
1820b3f0bb move function redone 2015-08-28 11:03:10 -07:00
taiyu
08faffdd76 dont swap floating containers 2015-08-27 07:10:17 -07:00
taiyu
d115335951 move workspace from dead output to other output 2015-08-26 21:25:57 -07:00
taiyu
dbad30a409 add limit to swayc_in_direction 2015-08-24 01:11:21 -07:00
taiyu
51ab3c9180 merge 2015-08-23 12:34:18 -07:00
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
2015-08-23 15:28:49 -04:00
taiyu
d72cc92541 style 2015-08-23 07:59:18 -07:00
taiyu
299406a048 slight fix 2015-08-22 22:32:41 -07:00
taiyu
f53ce887e8 fixed container resize oddity 2015-08-22 22:14:59 -07:00
taiyu
f24b78898a dont swap view with workspace... 2015-08-22 21:54:39 -07:00
taiyu
a4ded14991 small change 2015-08-22 21:23:22 -07:00
taiyu
42d5d9a177 mouse tile resize mode done 2015-08-22 21:03:45 -07:00
taiyu
e139de0857 floating/tiling move + floating resize cleaned and fixed 2015-08-22 18:01:38 -07:00
Luminarys
ad72abb58f Removed ugly intializer for pointer_state 2015-08-21 11:31:05 -05:00
Luminarys
a8eab5492a Added in proper resize locking 2015-08-21 11:19:06 -05:00
Luminarys
97bd548456 More minor fixes 2015-08-21 09:26:22 -05:00
Luminarys
de86c5f4ea Cleanup and minor fixes 2015-08-21 09:24:26 -05:00
Drew DeVault
464b49eda2 Merge pull request #101 from Luminarys/master
Added in basic resizing command.
2015-08-21 07:12:05 -04:00
Luminarys
461da7f87f Added in bspwm like mouse resizing 2015-08-21 00:17:26 -05:00
Drew DeVault
3a5fce339f Reset key buffer on reload
To preserve my sanity
2015-08-20 17:14:46 -04:00
taiyu
f5fde7c45c style 2015-08-20 05:06:22 -07:00
taiyu
ba6034e8c8 changes 2015-08-20 04:24:39 -07:00
taiyu
5ff0619ca1 input state, find_container_in_direction 2015-08-19 20:22:15 -07:00