aboutsummaryrefslogtreecommitdiff
path: root/cmd-find.c
Commit message (Collapse)AuthorAge
* Add a client flag 'active-pane' which stores the active pane in the client andNicholas Marriott2020-05-14
| | | | | | | | | allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
* Merge branch 'obsd-master'Thomas Adam2020-04-13
|\
| * Move cmdq_state into cmd-queue.c.nicm2020-04-13
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-13
|\|
| * Rename cmdq_shared to cmdq_state which will better reflect what it isnicm2020-04-13
| | | | | | | | (going to be) used for.
| * Store a key event not a mouse event in the shared data.nicm2020-04-13
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-13
|\|
| * Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm2020-04-13
| | | | | | | | use more clearly defined and preparation for some future work).
* | Merge branch 'obsd-master'Thomas Adam2020-04-09
|\|
| * Do not try to use the client if the item containing it is NULL.nicm2020-04-09
| |
* | Merge branch 'obsd-master'Thomas Adam2019-06-12
|\|
| * Do not use $TMUX to find the session because for windows in multiplenicm2019-06-12
| | | | | | | | | | | | sessions it is wrong as often as it is right, and for windows in one session it is pointless. Instead check TMUX_PANE to find the pane and look for the MRU session as usual. GitHub issue 1793.
* | Merge branch 'obsd-master'Thomas Adam2019-05-08
|\|
| * Adjust how mouse targets are found so they always have a session, windownicm2019-05-08
| | | | | | | | and pane.
* | Merge branch 'obsd-master'Thomas Adam2019-03-18
|\|
| * Add a : to make error messages clearer.nicm2019-03-15
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-12
|\|
| * When asked for a window index, return it even if the window exists.nicm2019-03-12
| |
| * Tweak target debug logging.nicm2019-03-12
| |
* | Merge branch 'obsd-master'Thomas Adam2018-08-18
|\|
| * SESSION_UNATTACHED flag is no longer necessary now we have an attachednicm2018-08-18
| | | | | | | | count instead.
* | Merge branch 'obsd-master'Thomas Adam2018-08-02
|\|
| * Make key trees and some other bits static.nicm2018-08-02
| |
* | Merge branch 'obsd-master'Thomas Adam2018-06-26
|\|
| * Style nit.nicm2018-06-26
| |
* | Merge branch 'obsd-master'Thomas Adam2018-05-28
|\|
| * When looking for panes, ignore dead ones (with -1 filenicm2018-05-28
| | | | | | | | descriptor). GitHub issue 1354.
* | Merge branch 'obsd-master'Thomas Adam2018-05-09
|\|
| * Another check for NULL window if looking for index.nicm2018-05-09
| |
* | Merge branch 'obsd-master'Thomas Adam2018-05-04
|\|
| * Improve logging of sessions.nicm2018-05-04
| |
* | Merge branch 'obsd-master'Thomas Adam2018-05-03
|\|
| * Use window target if specified and exists even when looking for annicm2018-05-03
| | | | | | | | index, fixes neww -a with -t as well.
* | Merge branch 'obsd-master'Thomas Adam2018-04-18
|\|
| * Change how display-message uses the client. Originally it was onlynicm2018-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | intended as the target client where the message should be displayed but at some point (perhaps when -p was added), it was used for format expansion too. This means it can get a bit weird where you have client formats expanding for a client with a different current session than the target session. However, it is nice that display-message can be used to show information about a specific client. So change so that the -c client will be used if the session matches the target session (-t or default), otherwise the best client will be chosen.
* | Merge branch 'obsd-master'Thomas Adam2018-03-17
|\|
| * Fix negative window index range check (> not <). Reported by Juan Pablonicm2018-03-17
| | | | | | | | in GitHub issue 1283.
* | Merge branch 'obsd-master'Thomas Adam2018-01-17
|\|
| * Another redundant check, GitHub issue 1219.nicm2018-01-15
| |
| * Some unused code, GitHub issue 1219.nicm2018-01-15
| |
* | Merge branch 'obsd-master'Thomas Adam2017-08-30
|\|
| * Pass flags into cmd_find_from_* to fix prefer-unattached, reported bynicm2017-08-30
| | | | | | | | Thomas Sattler.
* | Merge branch 'obsd-master'Thomas Adam2017-08-28
|\|
| * Do not forbid targets to specify non-visible panes - the checks fornicm2017-08-28
| | | | | | | | visibility are better where the target is used. GitHub issue 1049.
* | Merge branch 'obsd-master'Thomas Adam2017-07-07
|\|
| * When working out the current client (for example for switch-client withnicm2017-07-07
| | | | | | | | | | no target), prefer clients attached to the current session if there is one. GitHub issue 995 from Jan Larres.
* | Merge branch 'obsd-master'Thomas Adam2017-06-16
|\|
| * Tweak some logging.nicm2017-06-16
| |
* | Merge branch 'obsd-master'Thomas Adam2017-06-14
|\|
| * Add missing error message when no target, GitHub issue 971.nicm2017-06-14
| |