-
Notifications
You must be signed in to change notification settings - Fork 23
plan
In principle, it needs to run in an X11 environment. Currently, the Fantascene dynamic wallpaper program and the system's own desktop are defined as A and B respectively
Option 1: A is at the bottom layer, B is at the top layer of the bottom layer, B is the opaque icon, and the background is transparent (by setting a transparent wallpaper (deepinv23, Kylin), gnome does not need to be set at all (adaptive [until now I don't know if he has any problem anyway, because his icon and background are separated]))
Option 2: B is at the bottom layer, A is at the top layer. Is the desktop icon displayed? Yes, it is event penetration. No, that is, my program completely covers the program and implements it by writing a desktop operation myself (this desktop may have a poor user experience because it is not the system's own desktop and the code is relatively simple)
Option 3: B is at the bottom layer, A is on the top layer. Do you want to display the desktop icon? No Event Penetration: Yes, the program is on the desktop and needs to adjust the transparency of the wallpaper to 50% or other settings. This way, you can see both the wallpaper program and the OS of the system's own desktop pieced together. Although the experience is a mess, a small trick: the system's own desktop wallpaper uses a screenshot or the first frame of the dynamic wallpaper. If you choose the situation where the dynamic wallpaper itself is generally not moving, the best experience is achieved
Both Plan 2 and Plan 3 were inspired by the hierarchical relationship of xwinwrap
Additional note: The current plan for A and B, which is the lowest level, is not very fast. By managing the two windows together, if an event is detected, the corresponding window that needs to be raised and activated on the upper level will be checked