NeoMutt  2024-12-12-14-g7b49f7
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 247 of file window.c.

248{
249 struct EnterWindowData *wdata = win->wdata;
250 mutt_window_move(win, wdata->col, wdata->row);
252 return true;
253}
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 col, int row)
Move the cursor in a Window.
Definition: mutt_window.c:297
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.
Definition: mutt_window.h:145
+ 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 283 of file msgwin.c.

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