diff options
Diffstat (limited to 'include/WindowUtils.hpp')
-rw-r--r-- | include/WindowUtils.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/WindowUtils.hpp b/include/WindowUtils.hpp new file mode 100644 index 0000000..93d0dee --- /dev/null +++ b/include/WindowUtils.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include <string> +#include <X11/Xlib.h> + +namespace gsr { + enum class WindowCaptureType { + FOCUSED, + CURSOR + }; + + std::string get_focused_window_name(Display *dpy, WindowCaptureType window_capture_type); +}
\ No newline at end of file |