internal: listen to output.damage events
This commit is contained in:
parent
a35ea4d242
commit
cd1b982b2a
4 changed files with 18 additions and 4 deletions
|
|
@ -65,6 +65,7 @@ class CMonitor {
|
|||
DYNLISTENER(monitorFrame);
|
||||
DYNLISTENER(monitorDestroy);
|
||||
DYNLISTENER(monitorStateRequest);
|
||||
DYNLISTENER(monitorDamage);
|
||||
|
||||
// hack: a group = workspaces on a monitor.
|
||||
// I don't really care lol :P
|
||||
|
|
@ -73,8 +74,8 @@ class CMonitor {
|
|||
// methods
|
||||
void onConnect(bool noRule);
|
||||
void onDisconnect();
|
||||
void addDamage(pixman_region32_t* rg);
|
||||
void addDamage(wlr_box* box);
|
||||
void addDamage(const pixman_region32_t* rg);
|
||||
void addDamage(const wlr_box* box);
|
||||
void setMirror(const std::string&);
|
||||
bool isMirror();
|
||||
float getDefaultScale();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue