mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 22:40:44 +09:00
Fix restore portal session option not working, close other notifications when showing a new one
This commit is contained in:
13
include/WindowUtils.hpp
Normal file
13
include/WindowUtils.hpp
Normal file
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user