···11+/*
22+ * Copyright 2020 joshua stein <jcs@jcs.org>
33+ *
44+ * Permission is hereby granted, free of charge, to any person obtaining a copy
55+ * of this software and associated documentation files (the "Software"), to
66+ * deal in the Software without restriction, including without limitation the
77+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
88+ * sell copies of the Software, and to permit persons to whom the Software is
99+ * furnished to do so, subject to the following conditions:
1010+ *
1111+ * The above copyright notice and this permission notice shall be included in
1212+ * all copies or substantial portions of the Software.
1313+ *
1414+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1515+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1717+ * AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
1818+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1919+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2020+ */
2121+2222+#include <stdlib.h>
2323+#include <stdio.h>
2424+#include <err.h>
2525+#include <string.h>
2626+#include <X11/Xlib.h>
2727+#include <X11/Xutil.h>
2828+2929+#include "../atom.h"
3030+#include "../common.h"
3131+3232+extern Window win;
3333+extern int screen;
3434+3535+extern void setup(int, char **);
3636+extern void process_event(XEvent *ev);
···11+/*
22+ * Copyright 2020 joshua stein <jcs@jcs.org>
33+ *
44+ * Permission is hereby granted, free of charge, to any person obtaining a copy
55+ * of this software and associated documentation files (the "Software"), to
66+ * deal in the Software without restriction, including without limitation the
77+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
88+ * sell copies of the Software, and to permit persons to whom the Software is
99+ * furnished to do so, subject to the following conditions:
1010+ *
1111+ * The above copyright notice and this permission notice shall be included in
1212+ * all copies or substantial portions of the Software.
1313+ *
1414+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1515+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1717+ * AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
1818+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1919+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2020+ */
2121+2222+#include "harness.h"
2323+2424+void
2525+setup(int argc, char **argv)
2626+{
2727+ set_atoms(win, net_wm_state, XA_ATOM, &net_wm_state_above, 1);
2828+ set_atoms(win, net_wm_wintype, XA_ATOM, &net_wm_type_utility, 1);
2929+}
3030+3131+void
3232+process_event(XEvent *ev)
3333+{
3434+}