18#ifndef FREERDP_CLIENT_X11_FLOATBAR_H
19#define FREERDP_CLIENT_X11_FLOATBAR_H
21#include <winpr/wtypes.h>
27typedef struct xf_floatbar xfFloatbar;
29void xf_floatbar_free(xfFloatbar* floatbar);
31WINPR_ATTR_MALLOC(xf_floatbar_free, 1)
33xfFloatbar* xf_floatbar_new(xfContext* xfc, Window window, const
char* title, DWORD flags);
35BOOL xf_floatbar_is_window(xfFloatbar* floatbar, Window window);
36BOOL xf_floatbar_is_locked(xfFloatbar* floatbar);
37BOOL xf_floatbar_event_process(xfFloatbar* floatbar, const XEvent* event);
38BOOL xf_floatbar_check_event(xfFloatbar* floatbar, const XEvent* event);
39BOOL xf_floatbar_toggle_fullscreen(xfFloatbar* floatbar,
bool fullscreen);
40BOOL xf_floatbar_hide_and_show(xfFloatbar* floatbar);
41BOOL xf_floatbar_set_root_y(xfFloatbar* floatbar,
int y);
43BOOL xfc_is_floatbar_window(xfContext* xfc, Window window);