mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +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.
|
||||
data.modeset = true;
|
||||
data.blocking = true;
|
||||
data.flags = DRM_MODE_PAGE_FLIP_EVENT;
|
||||
data.flags = onlyTest ? 0 : DRM_MODE_PAGE_FLIP_EVENT;
|
||||
ok = connector->commitState(data);
|
||||
|
||||
if (!ok)
|
||||
|
|
Loading…
Reference in a new issue