FreeRDP
Loading...
Searching...
No Matches
xf_floatbar.h
1
18#ifndef FREERDP_CLIENT_X11_FLOATBAR_H
19#define FREERDP_CLIENT_X11_FLOATBAR_H
20
21#include <winpr/wtypes.h>
22
23#include <X11/Xlib.h>
24
25#include "xf_types.h"
26
27typedef struct xf_floatbar xfFloatbar;
28
29void xf_floatbar_free(xfFloatbar* floatbar);
30
31WINPR_ATTR_MALLOC(xf_floatbar_free, 1)
32WINPR_ATTR_NODISCARD
33xfFloatbar* xf_floatbar_new(xfContext* xfc, Window window, const char* title, DWORD flags);
34
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);
42
43BOOL xfc_is_floatbar_window(xfContext* xfc, Window window);
44
45#endif /* FREERDP_CLIENT_X11_FLOATBAR_H */