Fullscreen: simplifications and fixes
Merges #69.
Merge pull request #91 from drdonahue/wip-tag-status-interface
Interface to display tag information on status bar
changed fprintf(stdout) instances to printf(), changed function name from statusbar to printstatus
remove sigchld function
Explicitly setting the handler for SIGCHLD to SIG_IGN tells the OS to
reap zombie processes automatically, which is what we wanted anyway.
added redirect from stdout to stderr for spawned processes to prevent conflicts with the statusbar outputs
Fixed tab formatting in 6 locations where statusbar() is called
Changed output to stdout instead of a file
updated output format for better expansibility and easier parsing
fix style on space-indented function
Removed unused variable from statusbar
added statusbar update when tags are updated
Added interface to output information about tags, the currently selected monitor, and the focused client to a file for use by a status bar
add some explanation of output reconfiguration
Hopefully this will help "future us" understand what's going on.
remove hacky code from output-management handler
This functionality belongs in updatemons(), where it can hopefully be
written a bit more elegantly.
commit entire output config, or fail and rollback
The wlr-output-management protocol requires that either all of the
changes from an apply request be applied successfully, in which case a
"succeeded" event is sent, or all of the changes are reverted and a
"failed" event is sent. As written, this could partially commit
changes, then fail.
Test the changes first (even for an "apply" event), then commit or
rollback as appropriate.
Merge pull request #71 from djpohly/output-layout
call updatemons at the appropriate times
use updatemons as handler for output_layout.change
This should end up firing precisely when we need to adjust our geometry,
rather than us guessing about it based on requests.