X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fx.h;h=afc1645cd2044683991502d5bbc541da3bcd7e8b;hb=08986a17983c45781e59515b528710413b953984;hp=df4ee276723de7dae194efbee9134505d34c3756;hpb=2728c0246794df9eae0a12d77f32d7bd0031df6f;p=i3%2Fi3 diff --git a/include/x.h b/include/x.h index df4ee276..afc1645c 100644 --- a/include/x.h +++ b/include/x.h @@ -1,7 +1,13 @@ /* * vim:ts=4:sw=4:expandtab + * + * i3 - an improved dynamic tiling window manager + * © 2009-2011 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 _X_H #define _X_H @@ -104,4 +110,19 @@ void x_set_name(Con *con, const char *name); */ void x_set_i3_atoms(); +/** + * Set warp_to coordinates. This will trigger on the next call to + * x_push_changes(). + * + */ +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