aboutsummaryrefslogtreecommitdiff
path: root/include/WindowUtils.hpp
blob: 93d0dee98a5eb8ec3432a6906b17b16e0746fdf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}