summaryrefslogtreecommitdiffstats
path: root/sway/config.c
Commit message (Collapse)AuthorAge
* Free individual criteria in free_configLibravatar frsfnrrg2018-07-17
| | | | Also free cmd_list when cleaning up a struct criteria.
* Revert "config: free include path on successful load"Libravatar Drew DeVault2018-07-16
| | | | This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
* config: free include path on successful loadLibravatar Ian Fan2018-07-15
|
* Add error handling for getting config file sizeLibravatar Ian Fan2018-07-15
|
* Fix config buffer overflow and logicLibravatar Ian Fan2018-07-15
|
* Simplify transactions by utilising a dirty flag on containersLibravatar Ryan Dwyer2018-07-14
| | | | | | | | | | | | | | | This PR changes the way we handle transactions to a more simple method. The new method is to mark containers as dirty from low level code (eg. arranging, or container_destroy, and eventually seat_set_focus), then call transaction_commit_dirty which picks up those containers and runs them through a transaction. The old methods of using transactions (arrange_and_commit, or creating one manually) are now no longer possible. The highest-level code (execute_command and view implementation handlers) will call transaction_commit_dirty, so most other code just needs to set containers as dirty. This is done by arranging, but can also be done by calling container_set_dirty.
* config.c: fix current_config uninit warning (#2249)Libravatar Alex Xu2018-07-12
|
* Add get_config message type to ipcLibravatar Ian Fan2018-07-10
|
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* config: add a couple of forgotten freesLibravatar Dominique Martinet2018-07-05
|
* load_config: move NULL path check before first useLibravatar Dominique Martinet2018-07-02
| | | | Found through static analysis
* config include: fix leak on relative include pathLibravatar Dominique Martinet2018-07-02
| | | | Found through static analysis
* read_config: fix leak on errorLibravatar Dominique Martinet2018-07-02
| | | | Found through static analysis.
* Refactor everything that needs to arrange windowsLibravatar Ryan Dwyer2018-06-09
| | | | | | | | | | * The arrange_foo functions are now replaced with arrange_and_commit, or with manually created transactions and arrange_windows x2. * The arrange functions are now only called from the highest level functions rather than from both high level and low level functions. * Due to the previous point, view_set_fullscreen_raw and view_set_fullscreen are both merged into one function again. * Floating and fullscreen are now working with transactions.
* Remove strip quoting and fix strncpy-overlapLibravatar Brian Ashworth2018-06-07
|
* Fix logic issue in do_var_replacementLibravatar Brian Ashworth2018-06-05
|
* Support runtime var expansion and set at runtimeLibravatar Brian Ashworth2018-06-05
|
* sway/config: fix use-after-free for end of blockLibravatar Dominique Martinet2018-06-03
| | | | Introduced in 7c810dc344c28d1876c5ee158cb0806289d0f813
* Address first round of review for generic blocksLibravatar Brian Ashworth2018-06-02
|
* Support braces on next line for config blocksLibravatar Brian Ashworth2018-06-02
|
* Make command block implementation genericLibravatar Brian Ashworth2018-06-02
|
* Fix crash when using multiple outputsLibravatar Ryan Dwyer2018-06-01
|
* Consider floating views when calculating title heightLibravatar Ryan Dwyer2018-06-01
|
* Implement focus_wrappingLibravatar Brian Ashworth2018-05-27
|
* Idle handling for dpms/lockscreen et alLibravatar Mattias Eriksson2018-05-13
| | | | | | | | | Swayidle handles idle events and allows for dpms and lockscreen handling. It also handles systemd sleep events, and can raise a lockscreen on sleep Fixes #541
* Use reasonable default for font heightLibravatar Ryan Dwyer2018-05-10
| | | | Fixes #1949
* Move code for re-arranging after font height change into a common placeLibravatar Ryan Dwyer2018-05-05
|
* Fix unfocused.text defaultLibravatar Drew DeVault2018-05-03
|
* Convert border_colors.text to float[4]Libravatar Drew DeVault2018-05-03
|
* Calculate config->font_height based on existing container titlesLibravatar Ryan Dwyer2018-05-03
|
* Render titlesLibravatar Ryan Dwyer2018-05-03
|
* Remove unnecessary pointersLibravatar Ryan Dwyer2018-05-01
|
* Implement bordersLibravatar Ryan Dwyer2018-04-30
| | | | | | | | | | | | | Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border
* rename seat functionsLibravatar Tony Crisci2018-04-02
|
* Implement focus_follows_mouseLibravatar Drew DeVault2018-03-31
| | | | | | | 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)
* Free bar configs on reload and exitLibravatar Drew DeVault2018-03-31
|
* Merge remote-tracking branch 'origin/wlroots' into swaybar-layersLibravatar Drew DeVault2018-03-30
|\
| * Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Libravatar Tony Crisci2018-03-29
| | | | | | | | | | This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
| * Revert "Refactor tree"Libravatar Drew DeVault2018-03-29
| |
| * move tree includes to their own directoryLibravatar Tony Crisci2018-03-29
| |
* | Move bar config into its own fileLibravatar Drew DeVault2018-03-29
| |
* | Add bar configuration commandsLibravatar Drew DeVault2018-03-29
| |
* | Implement enough IPC for swaybar to workLibravatar Drew DeVault2018-03-29
|/
* Implement workspacesLibravatar Drew DeVault2018-01-30
|
* commands/reload: remove unimplemented 'load_swaybars' callLibravatar Dominique Martinet2018-01-22
|
* config reload: destroy old seat when removed from configLibravatar Dominique Martinet2018-01-22
| | | | | This adds new sway_seat_destroy and sway_cursor_destroy helpers and compare new and old config on free
* commands: add 'reload' commandLibravatar Dominique Martinet2018-01-22
|
* Merge pull request #1574 from acrisci/config-refactorLibravatar emersion2018-01-22
|\ | | | | Command criteria
| * seat config handler contextLibravatar Tony Crisci2018-01-20
| |
| * input config handler contextLibravatar Tony Crisci2018-01-20
| |