mirror of https://github.com/FreeRDP/FreeRDP
Cleaned up wnd.h includes
This commit is contained in:
parent
a713d5417e
commit
fd5ac4eed0
|
@ -235,7 +235,7 @@ struct xf_context
|
|||
Atom _NET_WORKAREA;
|
||||
|
||||
Atom _NET_SUPPORTED;
|
||||
ATOM _NET_SUPPORTING_WM_CHECK;
|
||||
Atom _NET_SUPPORTING_WM_CHECK;
|
||||
|
||||
Atom _NET_WM_STATE;
|
||||
Atom _NET_WM_STATE_FULLSCREEN;
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef FREERDP_RAIL_GLOBAL_H
|
||||
#define FREERDP_RAIL_GLOBAL_H
|
||||
|
||||
#include <winpr/wnd.h>
|
||||
#include <winpr/windows.h>
|
||||
|
||||
#include <freerdp/types.h>
|
||||
|
|
|
@ -22,25 +22,17 @@
|
|||
|
||||
#include <winpr/crt.h>
|
||||
#include <winpr/ssl.h>
|
||||
#include <winpr/wnd.h>
|
||||
#include <winpr/path.h>
|
||||
#include <winpr/cmdline.h>
|
||||
#include <winpr/winsock.h>
|
||||
|
||||
#include <winpr/tools/makecert.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
static BOOL g_MessagePump = TRUE;
|
||||
#else
|
||||
static BOOL g_MessagePump = FALSE;
|
||||
#endif
|
||||
|
||||
#include <freerdp/server/shadow.h>
|
||||
#define TAG SERVER_TAG("shadow")
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
MSG msg;
|
||||
int status = 0;
|
||||
DWORD dwExitCode;
|
||||
rdpSettings* settings;
|
||||
|
@ -151,14 +143,16 @@ int main(int argc, char** argv)
|
|||
goto fail_server_start;
|
||||
}
|
||||
|
||||
if (g_MessagePump)
|
||||
#ifdef _WIN32
|
||||
{
|
||||
MSG msg = { 0 };
|
||||
while (GetMessage(&msg, 0, 0, 0))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
WaitForSingleObject(server->thread, INFINITE);
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include <winpr/crt.h>
|
||||
#include <winpr/ssl.h>
|
||||
#include <winpr/wnd.h>
|
||||
#include <winpr/path.h>
|
||||
#include <winpr/cmdline.h>
|
||||
#include <winpr/winsock.h>
|
||||
|
|
Loading…
Reference in New Issue