Commit 809e7f7b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

window: document vout_window_ReportSize()

parent d3986cc5
...@@ -230,6 +230,15 @@ static inline int vout_window_HideMouse(vout_window_t *window, bool hide) ...@@ -230,6 +230,15 @@ static inline int vout_window_HideMouse(vout_window_t *window, bool hide)
return vout_window_Control(window, VOUT_WINDOW_HIDE_MOUSE, hide); return vout_window_Control(window, VOUT_WINDOW_HIDE_MOUSE, hide);
} }
* Report current window size
* This notifies the user of the window what the pixel dimensions of the
* window are (or should be, depending on the windowing system).
* \note This function is thread-safe. In case of concurrent call, it is
* undefined which one is taken into account (but at least one is).
static inline void vout_window_ReportSize(vout_window_t *window, static inline void vout_window_ReportSize(vout_window_t *window,
unsigned width, unsigned height) unsigned width, unsigned height)
{ {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment