NeoMutt  2025-09-05-55-g97fc89
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
recursor()

Recursor the Window. More...

+ Collaboration diagram for recursor():

Functions

static bool enter_recursor (struct MuttWindow *win)
 Recursor the Window - Implements MuttWindow::recursor() -.
 
static bool msgwin_recursor (struct MuttWindow *win)
 Recursor the Message Window - Implements MuttWindow::recursor() -.
 

Detailed Description

Recursor the Window.

Parameters
winWindow
Return values
trueCursor set
Precondition
win is not NULL

After all the repainting is done, the focussed window will be given an opportunity to set the position and visibility of the cursor.

If the focussed window doesn't implement recursor(), then the cursor will be hidden.

Function Documentation

◆ enter_recursor()

static bool enter_recursor ( struct MuttWindow * win)
static

Recursor the Window - Implements MuttWindow::recursor() -.

Definition at line 245 of file window.c.

246{
247 struct EnterWindowData *wdata = win->wdata;
248 mutt_window_move(win, wdata->row, wdata->col);
250 return true;
251}
enum MuttCursorState mutt_curses_set_cursor(enum MuttCursorState state)
Set the cursor state.
Definition mutt_curses.c:94
@ MUTT_CURSOR_VISIBLE
Display a normal cursor.
Definition mutt_curses.h:66
int mutt_window_move(struct MuttWindow *win, int row, int col)
Move the cursor in a Window.
Data to fill the Enter Window.
Definition wdata.h:46
int row
Cursor row.
Definition wdata.h:69
int col
Cursor column.
Definition wdata.h:70
void * wdata
Private data.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ msgwin_recursor()

static bool msgwin_recursor ( struct MuttWindow * win)
static

Recursor the Message Window - Implements MuttWindow::recursor() -.

Definition at line 282 of file msgwin.c.

283{
284 struct MsgWinWindowData *wdata = win->wdata;
285
286 mutt_window_move(win, wdata->row, wdata->col);
288
289 mutt_debug(LL_DEBUG5, "msgwin recursor done\n");
290 return true;
291}
#define mutt_debug(LEVEL,...)
Definition logging2.h:90
@ LL_DEBUG5
Log at debug level 5.
Definition logging2.h:48
Message Window private Window data.
int row
Cursor row.
int col
Cursor column.
+ Here is the call graph for this function:
+ Here is the caller graph for this function: