aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
2018-07-19Fix deferred command handlingBrian Ashworth
2018-07-17Free individual criteria in free_configfrsfnrrg
Also free cmd_list when cleaning up a struct criteria.
2018-07-16Revert "config: free include path on successful load"Drew DeVault
This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
2018-07-15config: free include path on successful loadIan Fan
2018-07-15Add error handling for getting config file sizeIan Fan
2018-07-15Fix config buffer overflow and logicIan Fan
2018-07-14Simplify transactions by utilising a dirty flag on containersRyan Dwyer
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.
2018-07-12config.c: fix current_config uninit warning (#2249)Alex Xu
2018-07-10Add get_config message type to ipcIan Fan
2018-07-09Update for swaywm/wlroots#1126emersion
2018-07-05config: add a couple of forgotten freesDominique Martinet
2018-07-02load_config: move NULL path check before first useDominique Martinet
Found through static analysis
2018-07-02config include: fix leak on relative include pathDominique Martinet
Found through static analysis
2018-07-02read_config: fix leak on errorDominique Martinet
Found through static analysis.
2018-06-09Refactor everything that needs to arrange windowsRyan Dwyer
* 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.
2018-06-07Remove strip quoting and fix strncpy-overlapBrian Ashworth
2018-06-05Fix logic issue in do_var_replacementBrian Ashworth
2018-06-05Support runtime var expansion and set at runtimeBrian Ashworth
2018-06-03sway/config: fix use-after-free for end of blockDominique Martinet
Introduced in 7c810dc344c28d1876c5ee158cb0806289d0f813
2018-06-02Address first round of review for generic blocksBrian Ashworth
2018-06-02Support braces on next line for config blocksBrian Ashworth
2018-06-02Make command block implementation genericBrian Ashworth
2018-06-01Fix crash when using multiple outputsRyan Dwyer
2018-06-01Consider floating views when calculating title heightRyan Dwyer
2018-05-27Implement focus_wrappingBrian Ashworth
2018-05-13Idle handling for dpms/lockscreen et alMattias Eriksson
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
2018-05-10Use reasonable default for font heightRyan Dwyer
Fixes #1949
2018-05-05Move code for re-arranging after font height change into a common placeRyan Dwyer
2018-05-03Fix unfocused.text defaultDrew DeVault
2018-05-03Convert border_colors.text to float[4]Drew DeVault
2018-05-03Calculate config->font_height based on existing container titlesRyan Dwyer
2018-05-03Render titlesRyan Dwyer
2018-05-01Remove unnecessary pointersRyan Dwyer
2018-04-30Implement bordersRyan Dwyer
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
2018-04-02rename seat functionsTony Crisci
2018-03-31Implement focus_follows_mouseDrew DeVault
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-31Free bar configs on reload and exitDrew DeVault
2018-03-30Merge remote-tracking branch 'origin/wlroots' into swaybar-layersDrew DeVault
2018-03-29Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Tony Crisci
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
2018-03-29Revert "Refactor tree"Drew DeVault
2018-03-29Move bar config into its own fileDrew DeVault
2018-03-29Add bar configuration commandsDrew DeVault
2018-03-29Implement enough IPC for swaybar to workDrew DeVault
2018-03-29move tree includes to their own directoryTony Crisci
2018-01-30Implement workspacesDrew DeVault
2018-01-22commands/reload: remove unimplemented 'load_swaybars' callDominique Martinet
2018-01-22config reload: destroy old seat when removed from configDominique Martinet
This adds new sway_seat_destroy and sway_cursor_destroy helpers and compare new and old config on free
2018-01-22commands: add 'reload' commandDominique Martinet
2018-01-22Merge pull request #1574 from acrisci/config-refactoremersion
Command criteria
2018-01-20seat config handler contextTony Crisci