* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
- * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
* x.c: Interface to X11, transfers our in-memory state to X11 (see also
* render.c). Basically a big state machine.
*
*/
-#ifndef I3_X_H
-#define I3_X_H
+#pragma once
+
+#include <config.h>
/** Stores the X11 window ID of the currently focused window */
extern xcb_window_t focused_id;
* every container from con_new().
*
*/
-void x_con_init(Con *con, uint16_t depth);
+void x_con_init(Con *con);
/**
* Moves a child window from Container src to Container dest.
* Raises the specified container in the internal stack of X windows. The
* next call to x_push_changes() will make the change visible in X11.
*
- * If above_all is true, the X11 window will be raised to the top
- * of the stack. This should only be used for precisely one fullscreen
- * window per output.
- *
*/
-void x_raise_con(Con *con, bool above_all);
+void x_raise_con(Con *con);
/**
* Sets the WM_NAME property (so, no UTF8, but used only for debugging anyways)
*
*/
void x_mask_event_mask(uint32_t mask);
-
-#endif