Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How does the background-command need to be run only once? #722

Open
TornaxO7 opened this issue Oct 4, 2023 · 1 comment
Open

Comments

@TornaxO7
Copy link

TornaxO7 commented Oct 4, 2023

Hello! This is just a question. May I ask how feh just needs to be executed once to set the wallpaper? Like, why doesn't feh has to run in the background to redraw the wallpaper after, for example, a window has been displayed over the background?

@TornaxO7
Copy link
Author

TornaxO7 commented Oct 4, 2023

If I'm following the code correctly:

  1. feh_wm_set_bg_centered
  2. gib_imlib_render_image_part_on_drawable_at_size
  3. glib_imlib.c

And understanding it correctly, then Imlib2 takes care of rerendering the wallpaper if needed, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant