[ Version ( deprecated = true , deprecated_since = "3.36" ) ]
public static void set_surface_as_root (Screen screen, Surface surface)
Warning: set_surface_as_root is deprecated since 3.36.
Set the root pixmap, and properties pointing to it.
We do this atomically with a server grab to make sure that we won't leak the pixmap if somebody else it setting it at the same time. (
This assumes that they follow the same conventions we do). surface should come from a call to
create_surface.
| screen |
the Screen to change root background on |
| surface |
the XlibSurface to set root background from. Must be an xlib surface backing a pixmap. |