rdesktop/tests/xwin_mock.c
Cendio 1f3d1fb3e0 Refactor handling of user requested window sizes
Extract ui_init_connection() into smaller functions
to clarify purpose.

Signed-off-by: Henrik Andersson <hean01@cendio.com>
Signed-off-by: Thomas Nilefalk <thoni56@cendio.se>
2018-01-11 15:10:05 +01:00

18 lines
348 B
C

#include <cgreen/mocks.h>
#include "../rdesktop.h"
void ui_get_screen_size(uint32 *width, uint32 *height)
{
mock(width, height);
}
void ui_get_screen_size_from_percentage(uint32 pw, uint32 ph, uint32 *width, uint32 *height)
{
mock(pw, ph, width, height);
}
void ui_get_workarea_size(uint32 *width, uint32 *height)
{
mock(width, height);
}