diff options
author | lukefromdc <[email protected]> | 2024-01-09 04:04:15 -0500 |
---|---|---|
committer | Luke from DC <[email protected]> | 2024-01-17 00:33:59 +0000 |
commit | 4bb9a2b8be6d71798acf68fa2b1932e130ad23ec (patch) | |
tree | e32f4154e6a900e0f67a946fd751a550484208ed /eel/eel-background.c | |
parent | e97582fc1bd7c67f0c3b9505b0bf6fa3847a38ce (diff) | |
download | caja-4bb9a2b8be6d71798acf68fa2b1932e130ad23ec.tar.bz2 caja-4bb9a2b8be6d71798acf68fa2b1932e130ad23ec.tar.xz |
eel-background: fix logic error in x11/wayland detection
Diffstat (limited to 'eel/eel-background.c')
-rw-r--r-- | eel/eel-background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c index f79797c8..ceaa972f 100644 --- a/eel/eel-background.c +++ b/eel/eel-background.c @@ -431,7 +431,7 @@ set_root_surface (EelBackground *self, } else { int width, height; drawable_get_adjusted_size (self, &width, &height); - if ((GDK_IS_X11_DISPLAY (display)) || (self->details->bg_surface == NULL)) + if ((GDK_IS_X11_DISPLAY (display)) && (self->details->bg_surface == NULL)) self->details->bg_surface = mate_bg_create_surface (self->details->bg, window, width, height, TRUE); } |