gamescope/src/main.hpp
2021-09-14 18:36:27 +02:00

33 lines
683 B
C++

#pragma once
#include <getopt.h>
#include <atomic>
extern const char *gamescope_optstring;
extern const struct option *gamescope_options;
void wayland_commit(struct wlr_surface *surf, struct wlr_buffer *buf);
extern std::atomic< bool > g_bRun;
extern int g_nNestedWidth;
extern int g_nNestedHeight;
extern int g_nNestedRefresh; // Hz
extern int g_nNestedUnfocusedRefresh; // Hz
extern uint32_t g_nOutputWidth;
extern uint32_t g_nOutputHeight;
extern int g_nOutputRefresh; // Hz
extern bool g_bFullscreen;
extern bool g_bFilterGameWindow;
extern bool g_bBorderlessOutputWindow;
extern bool g_bNiceCap;
extern int g_nOldNice;
extern int g_nNewNice;
bool BIsNested( void );