aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/output.c
AgeCommit message (Collapse)Author
2019-01-14Remove now-unused "input" argument of cmd_results_newM Stoeckl
Patch tested by compiling with `__attribute__ ((format (printf, 2, 3)))` applied to `cmd_results_new`. String usage constants have been converted from pointers to arrays when encountered. General handler format strings were sometimes modified to include the old input string, especially for unknown command errors.
2018-08-26Remove layout.cRyan Dwyer
When we have type safety we'll need to have functions for workspace_add_tiling and so on. This means the existing container functions will be just for containers, so they are being moved to container.c. At this point layout.c doesn't contain much else, so I've relocated everything and removed the file. * container_swap and its static functions have been moved to the swap command and made static. * container_recursive_resize has been moved to the resize command and made static. * The following have been moved to container.c: * container_handle_fullscreen_reparent * container_insert_child * container_add_sibling * container_add_child * container_remove_child * container_replace_child * container_split * enum movement_direction and sway_dir_to_wlr have been moved to util.c. Side note: Several commands included layout.h which then included root.h. With layout.h gone, root.h has to be included by those commands.
2018-07-20Reset outputs on reloadBrian Ashworth
2018-07-20Fix output wildcard handlingBrian Ashworth
2018-07-09Update for swaywm/wlroots#1126emersion
2018-06-06Switch output storing from list_t to wl_listBrian Ashworth
2018-06-06Store sway_outputs so that they can be reenabledBrian Ashworth
2018-06-03Address review comments for output subcommandsBrian Ashworth
2018-06-03Refactor cmd_output to use config_subcommandBrian 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-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-29rename container functionsTony Crisci
2018-03-28Render layer surfaces and respect exclusive zoneDrew DeVault
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2017-12-29Allow to configure outputs by their identifieremersion
2017-12-27Refactor output command, add output enableemersion
2017-12-18Add support for fractional output scaleemersion
2017-12-14Use strtol instead of atoi in output commandemersion
2017-12-14Fail if unknown output subcommandemersion
2017-12-14Replace refresh_rate and position by mode in output commandemersion
2017-12-12Update output container box in event handleremersion
2017-12-09Remove output from layoutemersion
2017-12-06Add new_output_config, update root container size on output hotplugemersion
2017-12-06Init, merge output config params, use wlr_output_layoutemersion
2017-12-06Add output configemersion
2017-11-18Move everything to sway/old/Drew DeVault
2017-10-05Clean up output commandCalvin Lee
Plugs memory leaks during failure of the output command and in other circumstances and fixes `bg` option. Fixes #1381
2017-03-10UnGNUify the codebaseDrew DeVault
2016-12-15Handle calloc failuresDrew DeVault
2016-12-15Handle allocation failure in commandsDrew DeVault
2016-09-02merge in latest commitsZandr Martin
2016-09-01refactor commands.cZandr Martin