Drew DeVault
265378270a
Revert "Multiple output coords by scale"
...
This reverts commit 94f8bdf081
.
7 years ago
Drew DeVault
94f8bdf081
Multiple output coords by scale
7 years ago
Drew DeVault
8ad26c8afd
Send surface enter/leave events
7 years ago
Drew DeVault
61c1c3e7af
Use focus for new windows xwayland/wl_shell
7 years ago
Drew DeVault
669f91b991
Document updates to the output command
7 years ago
Tony Crisci
1cca3965f3
static bfs queue
7 years ago
Tony Crisci
2154b7c7d6
add config handlers
7 years ago
Tony Crisci
7262bf655f
remove checks for command handlers
7 years ago
Tony Crisci
5b219a1598
separate config directives and commands
7 years ago
Tony Crisci
ac8269d536
take seat param for handle_command and rename
7 years ago
Tony Crisci
66d1e0b313
basic layout command
7 years ago
Tony Crisci
bcb870bcf2
bug: fix crash on focus up
7 years ago
Tony Crisci
23e9f5dc35
use wl_container_of() in output destroy callback
7 years ago
Tony Crisci
4b3aa59b8b
rename new_input listener on input-manager
7 years ago
Tony Crisci
316effd7b1
make handle_output_destroy() static
7 years ago
Tony Crisci
4c4cc9c999
remove old comments
7 years ago
Tony Crisci
b88f06e70a
bugfix: get right layout box for rendering views
7 years ago
Tony Crisci
176d24f02d
choose adjacent container between outputs
7 years ago
Tony Crisci
fb37e80225
basic move focus in direction across outputs
7 years ago
Tony Crisci
80927985fb
fix output rendering issue
7 years ago
Tony Crisci
7c089442c3
use box projection function
7 years ago
Tony Crisci
9510a20fcd
arrange windows after output add
7 years ago
Tony Crisci
a3ae67af4e
basic focus in direction
7 years ago
Tony Crisci
52670c636c
basic focus (without direction)
7 years ago
Tony Crisci
780d9fe1e3
cleanup layout.c
7 years ago
Tony Crisci
083e11ac7c
fix build for latest api
7 years ago
Tony Crisci
c6cb87be19
output damage fix
7 years ago
Tony Crisci
7dfbf06de9
output destroy
7 years ago
Tony Crisci
06c71f115b
input device destroy
7 years ago
Tony Crisci
946d9459c5
get swayc in direction
7 years ago
Tony Crisci
93084c9cf8
remove old focus member
7 years ago
Tony Crisci
ce3a1b3922
properly pick next focus
7 years ago
Tony Crisci
145b4fdf58
use bfs iterator to collect focus stack
7 years ago
Tony Crisci
095ddb1561
fix build for output damage
7 years ago
Tony Crisci
a7d49da239
separate seat get focus and seat get focus inactive
7 years ago
Tony Crisci
7d8f2c52aa
make index_child static
7 years ago
Tony Crisci
5151502298
basic focus overhaul
7 years ago
Drew DeVault
b28602aa74
Implement workspaces
7 years ago
Drew DeVault
a686fb07ae
Execute pending commands when Xwayland is ready
7 years ago
Dominique Martinet
6259831d31
commands/reload: remove unimplemented 'load_swaybars' call
7 years ago
Dominique Martinet
5766f426aa
config reload: destroy old seat when removed from config
...
This adds new sway_seat_destroy and sway_cursor_destroy helpers
and compare new and old config on free
7 years ago
Dominique Martinet
869be4378d
commands: add 'reload' command
7 years ago
emersion
0c58673c6a
Merge pull request #1574 from acrisci/config-refactor
...
Command criteria
7 years ago
Tony Crisci
beb3805cf0
dont allow kill command in config
7 years ago
Tony Crisci
38a1628a76
clear handler context before ipc command
7 years ago
Tony Crisci
c3fc0d446f
cmd-kill: use sway_assert when no container
7 years ago
Tony Crisci
5505d84ac2
criteria cleanup
7 years ago
Drew DeVault
a6bc46eea9
Remove sway/old/
7 years ago
Drew DeVault
c933781fac
Merge pull request #1570 from acrisci/config-references
...
Copy input config references
7 years ago
Tony Crisci
6b03b1205d
implement property criteria
7 years ago
Tony Crisci
0e3eae4baa
view interface
7 years ago
Tony Crisci
1156523ccf
run all commands with focused container context
7 years ago
Tony Crisci
6a1d71b8b8
basic command criteria
7 years ago
Tony Crisci
c353e01c85
add kill command
7 years ago
Tony Crisci
cc3c713889
seat config handler context
7 years ago
Tony Crisci
9e0595f26b
input config handler context
7 years ago
Tony Crisci
2bf76509f8
update for new wlr-keyboard modifiers
7 years ago
Tony Crisci
9f54cd8935
copy config references for input and seat
7 years ago
Tony Crisci
ddc49ede46
xwm handle map and unmap
7 years ago
Tony Crisci
83ddd2d9db
render override redirect
7 years ago
Tony Crisci
2ce1d8d6cd
render wl-shell and xwayland views
7 years ago
Tony Crisci
619254db76
subsurface input
7 years ago
Tony Crisci
76ce629198
xdg-popups
7 years ago
Tony Crisci
4c8c9b29e4
render xdg surface
7 years ago
Dominique Martinet
67985e9031
sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet
c83900593d
config: add 'set' command
7 years ago
Dominique Martinet
19ddb70a32
fixup free config use free_sway_binding
7 years ago
Dominique Martinet
9a326be7f8
config: leak sanitizer pass
...
Add free for everything that's implemented right now.
Will need to add more as the implementations are re-added.
7 years ago
Dominique Martinet
f5b33cb4b6
fix typos in comments/messages; add shutting down message
7 years ago
Dominique Martinet
28b8ea9f1e
cmd_input: cleanup around current_input_config
...
- Restore old one if we weren't part of a block (should be NULL anyway)
- Check current_input_config got properly allocated
- free temporary current_input_config when done using it
7 years ago
Dominique Martinet
afca73b6fc
apply_input_config: restore previous `current_input_config`
...
This is important for freeing the proper one at end of block
7 years ago
Drew DeVault
91313d3847
Merge pull request #1539 from acrisci/bindings
...
Bindings
7 years ago
Drew DeVault
bc7011db3c
Merge pull request #1543 from emersion/output-config-by-identifier
...
Allow to configure outputs by their identifier
7 years ago
Tony Crisci
b01a53abfb
Merge branch 'wlroots' into bindings
7 years ago
Tony Crisci
8b4eb5d7d1
cleanup bindings
7 years ago
Tony Crisci
50e791cadb
binding release
7 years ago
Calvin Lee
7196f59db0
Consolidate WLR and Sway logging
...
See #1390
7 years ago
emersion
ead3f1e676
Allow to configure outputs by their identifier
7 years ago
Tony Crisci
bd3ca70e3d
fix nitpicks
7 years ago
Tony Crisci
62b7ab3959
overwrite old bindings
7 years ago
Tony Crisci
0b8481f41a
fix keyboard_execute_bindcode
7 years ago
Tony Crisci
8d567cd062
bindcode
7 years ago
Tony Crisci
27cd633b40
run compositor bindings last
7 years ago
Tony Crisci
ccaedf5b15
run binding command
7 years ago
emersion
21c61f1c09
Refactor output command, add output enable
7 years ago
Tony Crisci
d941246d58
match user bindsym
7 years ago
Tony Crisci
daad222337
compositor bindings
7 years ago
Tony Crisci
eea80e7276
keyboard translate keysyms
7 years ago
Tony Crisci
ba69f06695
binding config
7 years ago
Drew DeVault
e1c5adc918
Merge pull request #1535 from martinetd/libinput
...
Libinput config
7 years ago
Tony Crisci
2f7e435c6f
desktop: use wlr-surface commit
7 years ago
Dominique Martinet
f3d8df45fc
seat_configure_pointer: apply libinput config
...
Restore the code that used to be in config.c:apply_input_config() pre-wlroots
7 years ago
Tony Crisci
63f7fb9517
cleanup
7 years ago
Tony Crisci
f35575f71d
handle keymap not found
7 years ago
Tony Crisci
39e7871a85
dont set cursor image on motion
7 years ago
Tony Crisci
5c036a3eac
error on not enough input/seat args for cmd
7 years ago
Tony Crisci
730af5e721
use snprintf to get identifier len
7 years ago
Tony Crisci
9df4a2c7a8
document fallback seat
7 years ago
Tony Crisci
f2985000f3
ipc get_inputs
7 years ago
Tony Crisci
a949d7de5a
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
a87960711a
Merge branch 'feature/input' of github.com:acrisci/sway into feature/input
7 years ago
Tony Crisci
4c436a1a6f
remove assumption of one device per identifier
7 years ago
Tony Crisci
483ede0146
improve xkb command logging
7 years ago
Drew DeVault
eb4f66f785
Merge pull request #1526 from emersion/fractional-output-scale
...
Add support for fractional output scale
7 years ago
emersion
c815d6d1a9
Add support for fractional output scale
7 years ago
emersion
4e2ab53119
Add IPC get_outputs
7 years ago
Tony Crisci
41e71d950a
remove verbose commit logging
7 years ago
Drew DeVault
b0291d126f
Fix compile error
7 years ago
Tony Crisci
a27736adcd
cleanup input-manager
7 years ago
Tony Crisci
88bcd43ebf
seat fallback config
7 years ago
Tony Crisci
e27eff8a29
send keyboard enter on keyboard configuration
7 years ago
Tony Crisci
c41801b75e
set keyboard config at runtime
7 years ago
Tony Crisci
0256cd1473
fix keyboard hotplugging
7 years ago
Tony Crisci
9e4fc7253e
get device id correctly
7 years ago
Tony Crisci
b0ed1ad28d
device add/remove logging
7 years ago
Tony Crisci
24e2406429
strip whitespace for device id
7 years ago
Tony Crisci
b8261ab24b
expect exactly one xkb arg
7 years ago
Tony Crisci
f16aa3c0ad
rename config apply cmds
7 years ago
Tony Crisci
f4a5a0ead4
put seat and input config in their own files
7 years ago
Tony Crisci
2624f55f8d
input and seat command docs
7 years ago
Tony Crisci
b3a0309f26
fix logging issue for new wlroots
7 years ago
Tony Crisci
9fa70ce426
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
030fcb64da
keyboard cleanup
7 years ago
Tony Crisci
9eecbb5d8a
xkb config
7 years ago
Tony Crisci
92fef27eaa
basic configuration
7 years ago
emersion
cba592b3d2
Use strtol instead of atoi in output command
7 years ago
emersion
9254c5a93f
Fail if unknown output subcommand
7 years ago
emersion
4d389f8b65
Replace refresh_rate and position by mode in output command
7 years ago
emersion
ec2fd6e5c0
Handle output remove
7 years ago
emersion
a4619e98c4
Update output containers on output layout change
7 years ago
emersion
d293c42942
Update output container box in event handler
7 years ago
emersion
c7abb77f22
Listen to output layout change
7 years ago
emersion
f3d880b0ec
Add scale and transform events to sway_output
7 years ago
Tony Crisci
c173d30b92
seat configuration
7 years ago
Tony Crisci
538903bc5a
config cleanup
7 years ago
Tony Crisci
163edc5a90
sway input device
7 years ago
emersion
475a0132a9
Use custom modes when output has no mode
7 years ago
Tony Crisci
462a451328
input config
7 years ago
Tony Crisci
9ae906cd37
sway pointer
7 years ago
Tony Crisci
4d449743c5
keyboard remove
7 years ago
Tony Crisci
5e9ee32d63
set focus on new window
7 years ago
Tony Crisci
609f63934a
basic keyboard
7 years ago
Tony Crisci
6339c4f161
remove pointer device
7 years ago
Tony Crisci
21626e8153
seat focus on button press
7 years ago
Tony Crisci
0fdecb4d3a
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
5f644d78fc
button and axis events
7 years ago
Tony Crisci
e69b052a6d
working pointer motion
7 years ago
Tony Crisci
9333a7eb53
working xcursor
7 years ago
Tony Crisci
7c67bea942
sway xcursor manager
7 years ago
emersion
4a14aa9ad9
Remove output from layout
7 years ago