mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
quirks: log when applying weston sub-surface desync quirk
This commit is contained in:
parent
6912bbd310
commit
b268b69a7b
1 changed files with 6 additions and 0 deletions
6
quirks.c
6
quirks.c
|
|
@ -3,6 +3,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define LOG_MODULE "quirks"
|
||||
#define LOG_ENABLE_DBG 0
|
||||
#include "log.h"
|
||||
|
||||
static bool
|
||||
is_weston(void)
|
||||
{
|
||||
|
|
@ -25,6 +29,8 @@ is_weston(void)
|
|||
if (!initialized) {
|
||||
initialized = true;
|
||||
is_weston = getenv("WESTON_CONFIG_FILE") != NULL;
|
||||
if (is_weston)
|
||||
LOG_WARN("applying wl_subsurface_set_desync() workaround for weston");
|
||||
}
|
||||
|
||||
return is_weston;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue