Codebase list i3-gaps / 9b295fb
Remove dead declarations in header files Orestis Floros 3 years ago
2 changed file(s) with 0 addition(s) and 64 deletion(s). Raw diff Collapse all Expand all
4646 *
4747 */
4848 void property_handlers_init(void);
49
50 #if 0
51 /**
52 * Configuration notifies are only handled because we need to set up ignore
53 * for the following enter notify events
54 *
55 */
56 int handle_configure_event(void *prophs, xcb_connection_t *conn, xcb_configure_notify_event_t *event);
57 #endif
58
59 #if 0
60 /**
61 * Handles _NET_WM_WINDOW_TYPE changes
62 *
63 */
64 int handle_window_type(void *data, xcb_connection_t *conn, uint8_t state,
65 xcb_window_t window, xcb_atom_t atom,
66 xcb_get_property_reply_t *property);
67 #endif
135135 */
136136 Con *workspace_back_and_forth_get(void);
137137
138 #if 0
139 /**
140 * Assigns the given workspace to the given screen by correctly updating its
141 * state and reconfiguring all the clients on this workspace.
142 *
143 * This is called when initializing a screen and when re-assigning it to a
144 * different screen which just got available (if you configured it to be on
145 * screen 1 and you just plugged in screen 1).
146 *
147 */
148 void workspace_assign_to(Workspace *ws, Output *screen, bool hide_it);
149
150 /**
151 * Initializes the given workspace if it is not already initialized. The given
152 * screen is to be understood as a fallback, if the workspace itself either
153 * was not assigned to a particular screen or cannot be placed there because
154 * the screen is not attached at the moment.
155 *
156 */
157 void workspace_initialize(Workspace *ws, Output *screen, bool recheck);
158
159 /**
160 * Gets the first unused workspace for the given screen, taking into account
161 * the preferred_screen setting of every workspace (workspace assignments).
162 *
163 */
164 Workspace *get_first_workspace_for_output(Output *screen);
165
166 /**
167 * Unmaps all clients (and stack windows) of the given workspace.
168 *
169 * This needs to be called separately when temporarily rendering a workspace
170 * which is not the active workspace to force reconfiguration of all clients,
171 * like in src/xinerama.c when re-assigning a workspace to another screen.
172 *
173 */
174 void workspace_unmap_clients(xcb_connection_t *conn, Workspace *u_ws);
175
176 /**
177 * Maps all clients (and stack windows) of the given workspace.
178 *
179 */
180 void workspace_map_clients(xcb_connection_t *conn, Workspace *ws);
181 #endif
182
183138 /**
184139 * Goes through all clients on the given workspace and updates the workspace’s
185140 * urgent flag accordingly.