X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fx.h;h=cb4a8a964d32823ab74dd1161c1469648ba5ea38;hb=2c23eb4c75e0ff39677f478ea6264248a5beb167;hp=2d41b4373a1586d22b7e360145e4b4577beff182;hpb=726f2a1e5a6e6567b3c880277986b9d1d7bca931;p=i3%2Fi3 diff --git a/include/x.h b/include/x.h index 2d41b437..cb4a8a96 100644 --- a/include/x.h +++ b/include/x.h @@ -19,7 +19,7 @@ extern xcb_window_t focused_id; * every container from con_new(). * */ -void x_con_init(Con *con); +void x_con_init(Con *con, uint16_t depth); /** * Moves a child window from Container src to Container dest. @@ -108,7 +108,7 @@ void x_set_name(Con *con, const char *name); * Sets up i3 specific atoms (I3_SOCKET_PATH and I3_CONFIG_PATH) * */ -void x_set_i3_atoms(); +void x_set_i3_atoms(void); /** * Set warp_to coordinates. This will trigger on the next call to @@ -117,4 +117,12 @@ void x_set_i3_atoms(); */ void x_set_warp_to(Rect *rect); +/** + * Applies the given mask to the event mask of every i3 window decoration X11 + * window. This is useful to disable EnterNotify while resizing so that focus + * is untouched. + * + */ +void x_mask_event_mask(uint32_t mask); + #endif