FreeRDP
|
#include <math.h>
#include <winpr/assert.h>
#include <winpr/sysinfo.h>
#include <X11/Xutil.h>
#include "xf_disp.h"
#include "xf_monitor.h"
#include <freerdp/log.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, const rdpMonitor *monitors, UINT32 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_queueResize (xfDispContext *xfDisp, UINT32 width, UINT32 height) |
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, const ActivatedEventArgs *e) |
static void | xf_disp_OnGraphicsReset (void *context, const GraphicsResetEventArgs *e) |
static void | xf_disp_OnTimer (void *context, const TimerEventArgs *e) |
static void | xf_disp_OnWindowStateChange (void *context, const WindowStateChangeEventArgs *e) |
xfDispContext * | xf_disp_new (xfContext *xfc) |
void | xf_disp_free (xfDispContext *disp) |
BOOL | xf_disp_handle_xevent (xfContext *xfc, const 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) |
#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 ct@h arden ing- consu ltin 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.
|
static |
void xf_disp_free | ( | xfDispContext * | disp | ) |
BOOL xf_disp_handle_configureNotify | ( | xfContext * | xfc, |
int | width, | ||
int | height | ||
) |
BOOL xf_disp_handle_xevent | ( | xfContext * | xfc, |
const XEvent * | event | ||
) |
BOOL xf_disp_init | ( | xfDispContext * | xfDisp, |
DispClientContext * | disp | ||
) |
FreeRDP: A Remote Desktop Protocol Implementation X11 Display Control channel
Copyright 2017 David Fort conta ct@h arden ing- consu ltin 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.
xfDispContext* xf_disp_new | ( | xfContext * | xfc | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
BOOL xf_disp_uninit | ( | xfDispContext * | xfDisp, |
DispClientContext * | disp | ||
) |
|
static |
|
static |