mirror of https://github.com/FreeRDP/FreeRDP
wfreerdp: floatbar: enabled.
This commit is contained in:
parent
9f6dbed05b
commit
96562e533f
|
@ -328,6 +328,11 @@ void wf_toggle_fullscreen(wfContext* wfc)
|
|||
wfc->disablewindowtracking = TRUE;
|
||||
}
|
||||
|
||||
if (wfc->fullscreen)
|
||||
floatbar_show(wfc->floatbar);
|
||||
else
|
||||
floatbar_hide(wfc->floatbar);
|
||||
|
||||
SetParent(wfc->hwnd, wfc->fullscreen ? NULL : wfc->hWndParent);
|
||||
wf_resize_window(wfc);
|
||||
ShowWindow(wfc->hwnd, SW_SHOW);
|
||||
|
|
|
@ -448,6 +448,7 @@ BOOL wf_post_connect(freerdp* instance)
|
|||
freerdp_channels_post_connect(instance->context->channels, instance);
|
||||
|
||||
wf_cliprdr_init(wfc, instance->context->channels);
|
||||
float_bar_window_create(wfc);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <freerdp/codec/nsc.h>
|
||||
#include <freerdp/client/file.h>
|
||||
|
||||
#include "wf_floatbar.h"
|
||||
#include "wf_event.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -132,6 +133,7 @@ struct wf_context
|
|||
int yCurrentScroll; // current vertical scroll value
|
||||
int yMaxScroll; // maximum vertical scroll value
|
||||
cliprdrContext *cliprdr_context;
|
||||
FloatBar* floatbar;
|
||||
};
|
||||
typedef struct wf_context wfContext;
|
||||
|
||||
|
|
Loading…
Reference in New Issue