FreeRDP
xf_disp.c File Reference
#include <winpr/sysinfo.h>
#include <X11/Xutil.h>
#include "xf_disp.h"
#include "xf_monitor.h"

Macros

#define TAG   CLIENT_TAG("x11disp")
 
#define RESIZE_MIN_DELAY   200 /* minimum delay in ms between two resizes */
 

Functions

static UINT xf_disp_sendLayout (DispClientContext *disp, rdpMonitor *monitors, int nmonitors)
 
static BOOL xf_disp_settings_changed (xfDispContext *xfDisp)
 
static BOOL xf_update_last_sent (xfDispContext *xfDisp)
 
static BOOL xf_disp_sendResize (xfDispContext *xfDisp)
 
static BOOL xf_disp_set_window_resizable (xfDispContext *xfDisp)
 
static BOOL xf_disp_check_context (void *context, xfContext **ppXfc, xfDispContext **ppXfDisp, rdpSettings **ppSettings)
 
static void xf_disp_OnActivated (void *context, ActivatedEventArgs *e)
 
static void xf_disp_OnGraphicsReset (void *context, GraphicsResetEventArgs *e)
 
static void xf_disp_OnTimer (void *context, TimerEventArgs *e)
 
xfDispContext * xf_disp_new (xfContext *xfc)
 
void xf_disp_free (xfDispContext *disp)
 
BOOL xf_disp_handle_xevent (xfContext *xfc, XEvent *event)
 
BOOL xf_disp_handle_configureNotify (xfContext *xfc, int width, int height)
 
static UINT xf_DisplayControlCaps (DispClientContext *disp, UINT32 maxNumMonitors, UINT32 maxMonitorAreaFactorA, UINT32 maxMonitorAreaFactorB)
 
BOOL xf_disp_init (xfDispContext *xfDisp, DispClientContext *disp)
 
BOOL xf_disp_uninit (xfDispContext *xfDisp, DispClientContext *disp)
 

Macro Definition Documentation

#define RESIZE_MIN_DELAY   200 /* minimum delay in ms between two resizes */
#define TAG   CLIENT_TAG("x11disp")

FreeRDP: A Remote Desktop Protocol Implementation X11 Display Control channel

Copyright 2017 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

static BOOL xf_disp_check_context ( void context,
xfContext **  ppXfc,
xfDispContext **  ppXfDisp,
rdpSettings **  ppSettings 
)
static

Here is the caller graph for this function:

void xf_disp_free ( xfDispContext *  disp)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL xf_disp_handle_configureNotify ( xfContext *  xfc,
int  width,
int  height 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL xf_disp_handle_xevent ( xfContext *  xfc,
XEvent *  event 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL xf_disp_init ( xfDispContext *  xfDisp,
DispClientContext *  disp 
)

FreeRDP: A Remote Desktop Protocol Implementation X11 Display Control channel

Copyright 2017 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:

Here is the caller graph for this function:

xfDispContext* xf_disp_new ( xfContext *  xfc)

Here is the call graph for this function:

Here is the caller graph for this function:

static void xf_disp_OnActivated ( void context,
ActivatedEventArgs *  e 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void xf_disp_OnGraphicsReset ( void context,
GraphicsResetEventArgs *  e 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void xf_disp_OnTimer ( void context,
TimerEventArgs *  e 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

UINT xf_disp_sendLayout ( DispClientContext *  disp,
rdpMonitor *  monitors,
int  nmonitors 
)
static

Here is the caller graph for this function:

static BOOL xf_disp_sendResize ( xfDispContext *  xfDisp)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL xf_disp_set_window_resizable ( xfDispContext *  xfDisp)
static

Here is the caller graph for this function:

static BOOL xf_disp_settings_changed ( xfDispContext *  xfDisp)
static

Here is the caller graph for this function:

BOOL xf_disp_uninit ( xfDispContext *  xfDisp,
DispClientContext *  disp 
)

Here is the caller graph for this function:

static UINT xf_DisplayControlCaps ( DispClientContext *  disp,
UINT32  maxNumMonitors,
UINT32  maxMonitorAreaFactorA,
UINT32  maxMonitorAreaFactorB 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL xf_update_last_sent ( xfDispContext *  xfDisp)
static

Here is the caller graph for this function: