config: Add a window rule to render while unfocused (#7582)
This commit is contained in:
parent
fbd6354393
commit
c5fd577181
8 changed files with 73 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ class CWorkspace;
|
|||
class CWindow;
|
||||
class CInputPopup;
|
||||
class IHLBuffer;
|
||||
class CEventLoopTimer;
|
||||
|
||||
// TODO: add fuller damage tracking for updating only parts of a window
|
||||
enum DAMAGETRACKINGMODES {
|
||||
|
|
@ -78,6 +79,7 @@ class CHyprRenderer {
|
|||
void makeEGLCurrent();
|
||||
void unsetEGL();
|
||||
SExplicitSyncSettings getExplicitSyncSettings();
|
||||
void addWindowToRenderUnfocused(PHLWINDOW window);
|
||||
|
||||
// if RENDER_MODE_NORMAL, provided damage will be written to.
|
||||
// otherwise, it will be the one used.
|
||||
|
|
@ -143,6 +145,8 @@ class CHyprRenderer {
|
|||
|
||||
SP<CRenderbuffer> getOrCreateRenderbuffer(SP<Aquamarine::IBuffer> buffer, uint32_t fmt);
|
||||
std::vector<SP<CRenderbuffer>> m_vRenderbuffers;
|
||||
std::vector<PHLWINDOWREF> m_vRenderUnfocused;
|
||||
SP<CEventLoopTimer> m_tRenderUnfocusedTimer;
|
||||
|
||||
friend class CHyprOpenGLImpl;
|
||||
friend class CToplevelExportFrame;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue