UI: Wire up WM_MOVE and WM_DISPLAYCHANGE events
This commit is contained in:
parent
01c0486aad
commit
5748ab7e0d
@ -221,6 +221,14 @@ QPaintEngine *OBSQTDisplay::paintEngine() const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void OBSQTDisplay::OnMove() {}
|
||||
void OBSQTDisplay::OnMove()
|
||||
{
|
||||
if (display)
|
||||
obs_display_update_color_space(display);
|
||||
}
|
||||
|
||||
void OBSQTDisplay::OnDisplayChange() {}
|
||||
void OBSQTDisplay::OnDisplayChange()
|
||||
{
|
||||
if (display)
|
||||
obs_display_update_color_space(display);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user