X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fx.h;h=07f8a725cfb3a8e3c52eefbfd94246b28951bd6d;hb=827292411727f6e2e775380ea54566a703bdb10f;hp=b712c78692646ab961d52c420cbd21619f60f115;hpb=06730f44e61ea845b56f86e9aa55a8eb1c66064a;p=i3%2Fi3 diff --git a/include/x.h b/include/x.h index b712c786..07f8a725 100644 --- a/include/x.h +++ b/include/x.h @@ -8,8 +8,7 @@ * 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; @@ -93,12 +92,8 @@ void x_push_changes(Con *con); * 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) @@ -108,6 +103,12 @@ void x_raise_con(Con *con, bool above_all); */ 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) * @@ -128,5 +129,3 @@ void x_set_warp_to(Rect *rect); * */ void x_mask_event_mask(uint32_t mask); - -#endif