X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fx.h;h=b6855cb328ccc67a52265b7c6dfd95fa200d0466;hb=96e1b80371b985d4f67b36e6cb48e61b5fb83995;hp=c3d4ffc7cc29f5bac0194aa9ca401f469ee70e8e;hpb=dece12bf1857ac2384e2da8917f65f2dfe3f2b37;p=i3%2Fi3 diff --git a/include/x.h b/include/x.h index c3d4ffc7..b6855cb3 100644 --- a/include/x.h +++ b/include/x.h @@ -2,14 +2,13 @@ * 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 /** Stores the X11 window ID of the currently focused window */ extern xcb_window_t focused_id; @@ -104,6 +103,12 @@ void x_raise_con(Con *con); */ void x_set_name(Con *con, const char *name); +/** + * Set up the SHMLOG_PATH atom. + * + */ +void update_shmlog_atom(void); + /** * Sets up i3 specific atoms (I3_SOCKET_PATH and I3_CONFIG_PATH) * @@ -124,5 +129,3 @@ void x_set_warp_to(Rect *rect); * */ void x_mask_event_mask(uint32_t mask); - -#endif