mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
@@ -186,10 +186,24 @@ static BOOL sdl_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y)
|
||||
|
||||
BOOL sdl_register_pointer(rdpGraphics* graphics)
|
||||
{
|
||||
const rdpPointer pointer = {
|
||||
sizeof(sdlPointer), sdl_Pointer_New, sdl_Pointer_Free, sdl_Pointer_Set, sdl_Pointer_SetNull,
|
||||
sdl_Pointer_SetDefault, sdl_Pointer_SetPosition, {}, 0, 0, 0, 0, 0, 0, 0, nullptr, nullptr,
|
||||
{};
|
||||
const rdpPointer pointer = { sizeof(sdlPointer),
|
||||
sdl_Pointer_New,
|
||||
sdl_Pointer_Free,
|
||||
sdl_Pointer_Set,
|
||||
sdl_Pointer_SetNull,
|
||||
sdl_Pointer_SetDefault,
|
||||
sdl_Pointer_SetPosition,
|
||||
{},
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
nullptr,
|
||||
nullptr,
|
||||
{} };
|
||||
graphics_register_pointer(graphics, &pointer);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
set(WITH_WEBVIEW_DEFAULT OFF)
|
||||
if (UNIX AND NOT APPLE)
|
||||
set(WITH_WEBVIEW_DEFAULT ON)
|
||||
endif()
|
||||
|
||||
option(WITH_WEBVIEW "Build with WebView support for AAD login popup browser" ${WITH_WEBVIEW_DEFAULT})
|
||||
if (WITH_WEBVIEW)
|
||||
|
||||
@@ -80,9 +80,9 @@ void prim_test_setup(BOOL performance)
|
||||
}
|
||||
|
||||
BOOL speed_test(const char* name, const char* dsc, UINT32 iterations, speed_test_fkt generic,
|
||||
speed_test_fkt optimised, ...)
|
||||
speed_test_fkt optimized, ...)
|
||||
{
|
||||
if (!name || !generic || !optimised || (iterations == 0))
|
||||
if (!name || !generic || !optimized || (iterations == 0))
|
||||
return FALSE;
|
||||
|
||||
for (UINT32 i = 0; i < iterations; i++)
|
||||
|
||||
Reference in New Issue
Block a user