Macaw OS C reference

Function focused

#include <macaw.h>
int focused(void);

Tells you whether your window is the one in front, for example to pause a game when it isn't.

Parameters

It takes nothing.

Returns int

1 if your window is in front, or 0 if it isn't.

In The window, with window, realtime, windowscale, resizable, redraw, close, settitle, windowmin, windowcolors, windowcursor, fullscreen.