MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / append_to_array

Function append_to_array

plugins/protocols/gtk-shell.cpp:124–129  ·  view source on GitHub ↗

* Helper function used by send_gtk_surface_configure * and send_gtk_surface_configure_edges */

Source from the content-addressed store, hash-verified

122 * and send_gtk_surface_configure_edges
123 */
124static void append_to_array(wl_array *array, uint32_t value)
125{
126 uint32_t *tmp;
127 tmp = (uint32_t*)wl_array_add(array, sizeof(*tmp));
128 *tmp = value;
129}
130
131/**
132 * Tells the client about the window state in more detail than xdg_surface.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected