aboutsummaryrefslogtreecommitdiff
path: root/user-notification.h (unfollow)
Commit message (Collapse)AuthorLines
2021-11-14user-notification: config: various small cleanupsCraig Barnes-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
2021-02-12user-notification: add new function ‘user_notification_add()’Daniel Eklöf-0/+7
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-17/+0
Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.
2020-09-08Add -W,--window-size-chars, and foot.ini:initial-window-size-charsDaniel Eklöf-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
2020-08-01slave: emit user-notifications before dup:ing stdin/stdout/stderrDaniel Eklöf-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.
2020-07-30user-notification: 'productify' the user-warning systemDaniel Eklöf-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.