mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 04:56:00 +01:00
drm: avoid testing with a pf event
This commit is contained in:
parent
18c6a8ccaf
commit
a70fc6a2fd
1 changed files with 1 additions and 1 deletions
|
@ -1544,7 +1544,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
||||||
// to avoid doing this over and over.
|
// to avoid doing this over and over.
|
||||||
data.modeset = true;
|
data.modeset = true;
|
||||||
data.blocking = true;
|
data.blocking = true;
|
||||||
data.flags = DRM_MODE_PAGE_FLIP_EVENT;
|
data.flags = onlyTest ? 0 : DRM_MODE_PAGE_FLIP_EVENT;
|
||||||
ok = connector->commitState(data);
|
ok = connector->commitState(data);
|
||||||
|
|
||||||
if (!ok)
|
if (!ok)
|
||||||
|
|
Loading…
Reference in a new issue