Commit Graph

2976 Commits

Author SHA1 Message Date
Tony Crisci
145b4fdf58 use bfs iterator to collect focus stack 2018-02-10 16:52:45 -05:00
Tony Crisci
095ddb1561 fix build for output damage 2018-02-10 16:13:08 -05:00
Tony Crisci
bfd2e85364 refactor workspace.h 2018-02-10 15:15:27 -05:00
Tony Crisci
a7d49da239 separate seat get focus and seat get focus inactive 2018-02-07 18:17:57 -05:00
Tony Crisci
7d8f2c52aa make index_child static 2018-02-06 18:54:10 -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
Drew DeVault
8231f99c12 Remove include/sway/old/ 2018-01-30 20:51:57 -05:00
Drew DeVault
a686fb07ae Execute pending commands when Xwayland is ready 2018-01-30 20:01:49 -05:00
Drew DeVault
38903e5801
Merge pull request #1555 from martinetd/cmd_reload
commands: add 'reload' command
2018-01-29 16:16:23 -05:00
Dominique Martinet
6259831d31 commands/reload: remove unimplemented 'load_swaybars' call 2018-01-22 07:26:40 +01:00
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
2018-01-22 07:26:37 +01:00
Dominique Martinet
869be4378d commands: add 'reload' command 2018-01-22 07:25:23 +01:00
emersion
0c58673c6a
Merge pull request #1574 from acrisci/config-refactor
Command criteria
2018-01-22 01:16:23 +01:00
Tony Crisci
beb3805cf0 dont allow kill command in config 2018-01-21 19:13:11 -05:00
Tony Crisci
38a1628a76 clear handler context before ipc command 2018-01-21 14:21:32 -05:00
Tony Crisci
c3fc0d446f cmd-kill: use sway_assert when no container 2018-01-21 14:15:10 -05:00
Tony Crisci
5505d84ac2 criteria cleanup 2018-01-21 14:11:41 -05:00
Drew DeVault
a6bc46eea9 Remove sway/old/ 2018-01-21 12:21:57 -05:00
Drew DeVault
c933781fac
Merge pull request #1570 from acrisci/config-references
Copy input config references
2018-01-21 11:17:07 -05:00
Tony Crisci
6b03b1205d implement property criteria 2018-01-21 09:17:51 -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
Drew DeVault
3dd915876d
Merge pull request #1571 from acrisci/wlroots-modifiers-update
update for new wlr-keyboard modifiers
2018-01-17 11:53:27 -05:00
Tony Crisci
2bf76509f8 update for new wlr-keyboard modifiers 2018-01-17 11:47:27 -05:00
Tony Crisci
9f54cd8935 copy config references for input and seat 2018-01-17 09:49:02 -05:00
Tony Crisci
eb0f432a84
Merge pull request #1566 from acrisci/render-loop
Subsurfaces and popups
2018-01-15 10:19:49 -05:00
Tony Crisci
ddc49ede46 xwm handle map and unmap 2018-01-15 09:38:05 -05:00
Tony Crisci
83ddd2d9db render override redirect 2018-01-14 13:19:21 -05:00
Tony Crisci
2ce1d8d6cd render wl-shell and xwayland views 2018-01-14 11:47:48 -05:00
Tony Crisci
619254db76 subsurface input 2018-01-14 10:50:20 -05:00
Tony Crisci
76ce629198 xdg-popups 2018-01-14 10:47:19 -05:00
Tony Crisci
4c8c9b29e4 render xdg surface 2018-01-14 10:35:56 -05:00
Drew DeVault
5a23959242
Merge pull request #1556 from martinetd/cleanup_logging
Cleanup logging
2018-01-06 09:31:34 -05:00
Dominique Martinet
d4ddfec32e common/log: finish removing most log functions
Keep sway_abort and sway_assert and convert them to use wlr_log
functions
2018-01-05 23:40:09 +01:00
Dominique Martinet
51f6718581 swaymsg: convert to wlr_log 2018-01-05 23:40:09 +01:00
Dominique Martinet
67985e9031 sway: change all sway_log to wlr_log 2018-01-05 23:39:46 +01:00
Drew DeVault
fdc92e7454
Merge pull request #1554 from martinetd/cmd_set
config: add 'set' command
2018-01-05 09:40:47 -05:00
Dominique Martinet
c83900593d config: add 'set' command 2018-01-05 15:36:20 +01:00
Drew DeVault
c5452a3220
Merge pull request #1552 from martinetd/cleanup
config cleanup & implement free_config
2018-01-05 09:23:13 -05:00
Dominique Martinet
19ddb70a32 fixup free config use free_sway_binding 2018-01-05 00:07:34 +01:00
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.
2018-01-05 00:07:34 +01:00
Dominique Martinet
f5b33cb4b6 fix typos in comments/messages; add shutting down message 2018-01-05 00:07:34 +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
Dominique Martinet
afca73b6fc apply_input_config: restore previous current_input_config
This is important for freeing the proper one at end of block
2018-01-05 00:07:34 +01:00
Drew DeVault
7dad5cd18c
Merge pull request #1549 from rkanati/wlroots
update json-c dep to 0.13
2018-01-04 11:00:47 -05:00