Ryan Dwyer
52420cc24d
Implement fullscreen.
2018-04-16 20:36:40 +10:00
Dominique Martinet
25af959fe9
Fix gcc string truncation warnings
2018-04-13 22:47:27 +09:00
Danny Bautista
c355d680e9
Clean up cursor simulation code.
2018-04-10 15:40:27 -04:00
Danny Bautista
1edb2bd892
Implement cursor event simulation with sway commands.
2018-04-10 12:40:50 -04:00
db
63b2543749
Add workspace_auto_back_and_forth for move cmd
2018-04-09 21:34:56 +02:00
Drew DeVault
07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
...
Focus inactive fixes
2018-04-08 16:05:03 -04:00
Drew DeVault
0e3ddf255e
Add input "identifier" map_to_output "identifier"
2018-04-08 15:09:12 -04:00
Tony Crisci
ae78f6fb93
Merge branch 'wlroots' into focus-inactive-fixes
2018-04-08 12:47:56 -04:00
db
042b80b9fa
Add workspace_auto_back_and_forth command
...
This is the only missing piece - other code regarding this functionality has
already been ported from pre-wlroots source.
2018-04-08 16:44:59 +02:00
Tony Crisci
9db859585e
container_create_notify on split
2018-04-07 18:01:18 -04:00
Drew DeVault
c47b4d4edb
Merge pull request #1756 from emersion/output-damage
...
Fine-grained damage tracking
2018-04-07 11:53:10 -04:00
emersion
516f5454ad
Simplify damage tracking functions, use them in layer shell
2018-04-06 11:45:40 -04:00
Drew DeVault
57954a2b24
Implement move [left|right|up|down]
...
The exact semantics of this command are complicated. I'll describe each
test scenario as s-expressions. Everything assumes L_HORIZ if not
specified, but if you rotate everything 90 degrees the same test cases
hold.
```
(container (view a) (view b focus) (view c))
-> move left
(container (view b focus) (view a) (view c))
(container (view a) (view b focus) (view c))
-> move right
(container (view a) (view c) (view b focus))
(container L_VERT (view a))
(container L_HORIZ
(view b) (view c focus))
-> move up
(container L_VERT
(view a) (view c focus))
(container L_HORIZ (view b))
(workspace
(view a) (view b focus) (view c))
-> move up
(workspace [split direction flipped]
(view b focus)
(container (view a) (view c)))
(workspace
(view a) (view b focus) (view c))
-> move down
(workspace [split direction flipped]
(container (view a) (view c))
(view b focus)))
Note: outputs use wlr_output_layout instead of assuming that i+/-1 is
the next output in the move direction.
(root
(output X11-1
(workspace 1))
(output X11-2
(workspace 1 (view a focus) (view b)))))
-> move left
(root
(output X11-1
(workspace 1 (view a focus)))
(output X11-2
(workspace 1 (view b)))))
(root
(output X11-1
(workspace 1
(container (view a) (view b)))
(output X11-2
(workspace 1 (view c focus)))))
-> move left
(root
(output X11-1
(workspace 1
(container (view a) (view b))
(view c focus)))
(output X11-2
(workspace 1)))
```
2018-04-06 09:43:52 -04:00
Drew DeVault
f77986338f
Implement resize command
2018-04-05 00:03:20 -04:00
Tony Crisci
fc9398a42e
Implement opacity command
2018-04-04 21:57:05 -04:00
Tony Crisci
a001890fb8
move workspace create to workspace.c
2018-04-03 19:52:17 -04:00
Tony Crisci
481a8275c1
address feedback
2018-04-03 19:23:59 -04:00
Tony Crisci
9b567fc37e
clean up container_get_default_layout
2018-04-03 13:23:34 -04:00
Tony Crisci
5f4761c4f4
unify workspace create functions
2018-04-03 13:08:45 -04:00
Tony Crisci
2c165e1288
fix more close segfaults
2018-04-02 21:01:33 -04:00
Tony Crisci
32ef182f47
cleanup split command handlers
2018-04-02 20:12:18 -04:00
Tony Crisci
d434da5632
Merge branch 'wlroots' into split-containers
2018-04-02 16:09:27 -04:00
Tony Crisci
d070244362
fix workspace splits
2018-04-02 15:40:40 -04:00
Tony Crisci
357a4401fa
address feedback
2018-04-02 14:15:40 -04:00
Tony Crisci
2187684bd0
Merge branch 'wlroots' into split-containers
2018-04-02 14:06:04 -04:00
Tony Crisci
5e024278a6
Merge branch 'wlroots' into seat-fixes
2018-04-02 13:23:43 -04:00
Drew DeVault
e3689dd5a9
Fixes regarding @emersion's feedback
2018-04-02 11:57:06 -04:00
Tony Crisci
a82c107c76
80col
2018-04-02 11:44:42 -04:00
Drew DeVault
b2d871cfe2
Partially implement move command
...
Works:
- move [container|window] to workspace <name>
- Note, this should be able to move C_CONTAINER but this is untested
- move [workspace] to output [left|right|up|down|<name>]
Not implemented yet:
- move [left|right|up|down]
- move scratchpad
- move position
2018-04-02 11:12:18 -04:00
Tony Crisci
e677c5b204
rename seat functions
2018-04-02 08:45:37 -04:00
Tony Crisci
b5d49cc4e8
remove default from kill switch
2018-03-31 21:05:58 -04:00
Tony Crisci
e7ecb001d7
reap container parent on destroy
2018-03-31 15:37:16 -04:00
Tony Crisci
7706d83160
basic split containers
2018-03-31 15:37:16 -04:00
Drew DeVault
9b38ef950f
Implement focus_follows_mouse
...
Also contains two other small changes:
- Clicking any button will focus the container clicked (not just left)
- Remove seamless_mouse (doesn't make sense on wlroots)
2018-03-31 13:05:45 -04:00
Drew DeVault
ae6d459000
Implement mouse warping
2018-03-31 13:05:45 -04:00
Drew DeVault
69eb021767
Add default_orientation command
2018-03-30 10:43:55 -04:00
Drew DeVault
f26ecd9f58
Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
2018-03-30 00:04:04 -04:00
Tony Crisci
dc8c9fbeb6
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
...
This reverts commit 472e81f35d
, reversing
changes made to 6b7841b11f
.
2018-03-29 23:41:33 -04:00
Drew DeVault
d0c7f66e95
Revert "Refactor tree"
2018-03-29 23:29:29 -04:00
Tony Crisci
2778edef97
arrange windows
2018-03-29 23:15:39 -04:00
Drew DeVault
8efee109ad
Implement modes
2018-03-29 22:11:08 -04:00
Drew DeVault
741424c4e7
Clean up imported bar commands
2018-03-29 22:11:08 -04:00
Drew DeVault
849c3515ab
Use statically allocated text buffer
2018-03-29 22:11:08 -04:00
Drew DeVault
8b5b72c576
Restart swaybar on config reload
2018-03-29 22:11:08 -04:00
Drew DeVault
5c9cdbcdd2
Add swaybg_command
2018-03-29 22:11:08 -04:00
Drew DeVault
bf7a4cd0eb
Add bar configuration commands
2018-03-29 22:11:08 -04:00
Tony Crisci
62d1b4cb96
fix container_get_in_direction name
2018-03-29 18:17:31 -04:00
Tony Crisci
eca029f218
more renaming things
2018-03-29 17:06:29 -04:00
Tony Crisci
b90099b4b7
rename container functions
2018-03-29 16:40:40 -04:00
Tony Crisci
874f009866
move tree includes to their own directory
2018-03-29 14:21:42 -04:00
Drew DeVault
68cfa7ef67
Render layer surfaces and respect exclusive zone
2018-03-28 16:42:13 -04:00
Tony Crisci
2154b7c7d6
add config handlers
2018-02-24 13:34:47 -05:00
Tony Crisci
7262bf655f
remove checks for command handlers
2018-02-24 13:22:57 -05:00
Tony Crisci
66d1e0b313
basic layout command
2018-02-22 18:37:14 -05:00
Tony Crisci
a3ae67af4e
basic focus in direction
2018-02-14 17:12:21 -05:00
Tony Crisci
52670c636c
basic focus (without direction)
2018-02-14 16:47:23 -05:00
Tony Crisci
a7d49da239
separate seat get focus and seat get focus inactive
2018-02-07 18:17:57 -05:00
Tony Crisci
5151502298
basic focus overhaul
2018-02-04 14:08:54 -05:00
Drew DeVault
b28602aa74
Implement workspaces
2018-01-30 23:09:21 -05:00
Dominique Martinet
6259831d31
commands/reload: remove unimplemented 'load_swaybars' call
2018-01-22 07:26:40 +01:00
Dominique Martinet
869be4378d
commands: add 'reload' command
2018-01-22 07:25:23 +01:00
Tony Crisci
beb3805cf0
dont allow kill command in config
2018-01-21 19:13:11 -05:00
Tony Crisci
c3fc0d446f
cmd-kill: use sway_assert when no container
2018-01-21 14:15:10 -05:00
Tony Crisci
0e3eae4baa
view interface
2018-01-21 09:09:53 -05:00
Tony Crisci
1156523ccf
run all commands with focused container context
2018-01-21 08:46:31 -05:00
Tony Crisci
6a1d71b8b8
basic command criteria
2018-01-20 16:21:45 -05:00
Tony Crisci
c353e01c85
add kill command
2018-01-20 14:10:11 -05:00
Tony Crisci
cc3c713889
seat config handler context
2018-01-20 11:44:34 -05:00
Tony Crisci
9e0595f26b
input config handler context
2018-01-20 11:34:57 -05:00
Dominique Martinet
67985e9031
sway: change all sway_log to wlr_log
2018-01-05 23:39:46 +01:00
Dominique Martinet
c83900593d
config: add 'set' command
2018-01-05 15:36:20 +01:00
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
2018-01-05 00:07:34 +01:00
Drew DeVault
91313d3847
Merge pull request #1539 from acrisci/bindings
...
Bindings
2018-01-04 09:47:36 -05:00
Tony Crisci
b01a53abfb
Merge branch 'wlroots' into bindings
2018-01-04 08:00:22 -05:00
Tony Crisci
50e791cadb
binding release
2018-01-04 07:25:52 -05:00
emersion
ead3f1e676
Allow to configure outputs by their identifier
2017-12-29 19:04:16 +01:00
Tony Crisci
bd3ca70e3d
fix nitpicks
2017-12-29 09:11:15 -05:00
Tony Crisci
62b7ab3959
overwrite old bindings
2017-12-28 18:50:22 -05:00
emersion
21c61f1c09
Refactor output command, add output enable
2017-12-27 21:23:30 +01:00
Tony Crisci
ba69f06695
binding config
2017-12-27 12:31:06 -05:00
Tony Crisci
5c036a3eac
error on not enough input/seat args for cmd
2017-12-19 05:26:55 -05:00
Tony Crisci
a949d7de5a
Merge branch 'wlroots' into feature/input
2017-12-18 11:01:11 -05:00
Tony Crisci
483ede0146
improve xkb command logging
2017-12-18 10:44:25 -05:00
emersion
c815d6d1a9
Add support for fractional output scale
2017-12-18 14:13:07 +01:00
Tony Crisci
88bcd43ebf
seat fallback config
2017-12-17 10:39:22 -05:00
Tony Crisci
c41801b75e
set keyboard config at runtime
2017-12-16 20:06:58 -05:00
Tony Crisci
b8261ab24b
expect exactly one xkb arg
2017-12-16 12:40:58 -05:00
Tony Crisci
f16aa3c0ad
rename config apply cmds
2017-12-16 12:14:24 -05:00
Tony Crisci
9fa70ce426
Merge branch 'wlroots' into feature/input
2017-12-16 07:33:23 -05:00
Tony Crisci
9eecbb5d8a
xkb config
2017-12-15 05:22:51 -05:00
Tony Crisci
92fef27eaa
basic configuration
2017-12-14 11:11:56 -05:00
emersion
cba592b3d2
Use strtol instead of atoi in output command
2017-12-14 02:23:33 +01:00
emersion
9254c5a93f
Fail if unknown output subcommand
2017-12-14 00:50:01 +01:00
emersion
4d389f8b65
Replace refresh_rate and position by mode in output command
2017-12-14 00:45:47 +01:00
emersion
d293c42942
Update output container box in event handler
2017-12-12 21:09:51 +01:00
Tony Crisci
c173d30b92
seat configuration
2017-12-12 10:55:20 -05:00
Tony Crisci
538903bc5a
config cleanup
2017-12-12 09:03:58 -05:00
Tony Crisci
462a451328
input config
2017-12-11 07:55:01 -05:00
emersion
4a14aa9ad9
Remove output from layout
2017-12-09 15:48:52 +01:00
emersion
8764dc26c6
Add new_output_config, update root container size on output hotplug
2017-12-06 19:45:43 +01:00