aboutsummaryrefslogtreecommitdiff
path: root/alerts.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master' into masterThomas Adam2021-04-12
|\
| * Add a flag to disable keys to close a message, GitHub issue 2625.nicm2021-04-12
| |
* | Look for libevent2 differently from libevent for platforms with both.Nicholas Marriott2021-01-17
|/
* Set alert flag for the current window if the session is unattached.nicm2020-08-19
| | | | GitHub issues 1182 and 2299. From Eric Garver.
* Add a -d option to display-message to set delay, from theonekeyg atnicm2020-07-27
| | | | gmail dot com in GitHub issue 2322.
* Support embedded styles in the display-message message, GitHub issuenicm2020-05-16
| | | | 2206.
* Redrawing status is needed after changing window flags or title does notnicm2017-12-28
| | | | update if status line is off, GitHub issue 1191.
* Initialize alerts timer event where it is used, avoids crash with new windows.nicm2017-09-22
|
* Check event is initialized before delete; fixes crash reported bynicm2017-09-11
| | | | Michael Nickerson in GitHub issue 1068.
* Allow multiple bells even if there is an existing bell (but not activitynicm2017-08-23
| | | | or silence), from Brad Town.
* Run alert hooks based on the options rather than unconditionally, fromnicm2017-08-23
| | | | Brad Town.
* Add monitor-bell window option to match the activity and silencenicm2017-08-17
| | | | options, from Brad Town.
* Rename BELL_* values to ALERT_* now they are used by more than bells,nicm2017-08-16
| | | | based on a diff from Brad Town.
* Always reset the alerts timer so it works even if activity and silencenicm2017-07-26
| | | | are enabled on the same window.
* Make bell, activity and silence alerting more consistent:nicm2017-07-26
| | | | | | | | | | | | - remove the bell-on-alert option; - add activity-action and silence-action options with the same possible values as the existing bell-action; - add "both" value for the visual-bell, visual-activity and visual-silence options to trigger both a bell and a message. This means all three work the same way. Based on changes from Yvain Thonnart.
* Fix visual-silence (check accidentally the wrong way round), from Bradnicm2017-06-28
| | | | Town. Plus some tmux.1 fixes from jmc@.
* Log what is happening with window and session reference counts much morenicm2017-04-28
| | | | obviously.
* Do not put the window on the alerts queue and add a reference unless thenicm2017-04-28
| | | | alert is enabled and we are actually going to add the alerts event.
* More unnecessary arguments now winlink points back to session.nicm2017-04-21
|
* Clear window alert flags after setting winlink alert flags, fixes problemnicm2016-11-01
| | | | reported by Tommy Allen.
* Do not handle activity or silence alerts in the current window, reportednicm2016-10-25
| | | | by jasper@.
* Alerts are too slow, so rather than walking all sessions and windows,nicm2016-10-19
| | | | | | add a link of winlinks to each window and a pointer to the session to each winlink. Also rewrite the alerts processing to return to the old behaviour (alert in any window sets the flag on any winlink).
* Use notifys for alerts too.nicm2016-10-16
|
* Remove some dead code in cmd-move-window.c and make a load of localnicm2016-10-03
| | | | functions static.
* Add on alerts rather than ignoring them if the event has already beennicm2016-05-11
| | | | | queued, for example bell and activity together. From Marcel Lippmann via Romain Francoise.
* I no longer use my SourceForge address so replace it.nicm2016-01-19
|
* Add hooks for alerts (bell, silence, activity), from Thomas Adam.nicm2016-01-16
|
* Fix bell indicators across detach, reported by Torbjorn Lonnemark, diffnicm2015-12-07
| | | | from Thomas Adam.
* The alerts callback should be fired for bells even if bell-action isnicm2015-11-20
| | | | | none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@.
* The activity flag could already be set, so queue the callback always (ifnicm2015-11-19
| | | | | not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@
* Use __unused rather than rolling our own.nicm2015-11-18
|
* Move struct options into options.c.nicm2015-10-27
|
* Reset the alerts timer always on activity, from Thomas Adam.nicm2015-09-21
|
* A one line helper function is a little silly.nicm2015-09-02
|
* Move alerts onto events rather than checking every loop.nicm2015-08-29