aboutsummaryrefslogtreecommitdiff
path: root/user-notification.h (follow)
Commit message (Collapse)AuthorAgeLines
* user-notification: config: various small cleanupsCraig Barnes2021-11-14-2/+12
| | | | | | | * Rename user_notification_add() to user_notification_add_fmt() * Add new user_notification_add() helper function * Use xvasprintf() to replace user_notification_add_va() * Make better use of helper functions in config.c
* user-notification: add new function ‘user_notification_add()’Daniel Eklöf2021-02-12-0/+7
|
* Add -W,--window-size-chars, and foot.ini:initial-window-size-charsDaniel Eklöf2020-09-08-0/+8
| | | | | | | | | | | * Add -W,--window-size-chars command line option * Add initial-window-size-chars foot.ini option * Add -w,--window-size-pixels command line option * Add initial-window-size-pixels foot.ini option * Deprecate -g,--geometry command line option in favor of -w,--window-size-pixels * Deprecate geometry option in foot.ini in favor of initial-window-size-pixels
* slave: emit user-notifications before dup:ing stdin/stdout/stderrDaniel Eklöf2020-08-01-5/+7
| | | | | | | | | Since we need to restore the status flags anyway, there's nothing to gain from emitting the user notifications after dup:ing the pts file descriptor. On the other hand, emitting user notifications *before* dup:ing means we can still print error messages for e.g. write(3) errors.
* user-notification: 'productify' the user-warning systemDaniel Eklöf2020-07-30-0/+14
* Rename user_warning to user_notification * Add warning and error types (in addition to the existing deprecated) * Simplify logic when emitting a user notification after forking; we don't need to copy the notification data since we're in a new process and have total control over that memory.