swim.git

func.h

espurr
/* swim - window manager
 * Copyright (C) 2022-2023 ArcNyxx
 * see LICENCE file for licensing information */

#ifndef FUNC_H
#define FUNC_H

#include <stdbool.h>
#include <stdint.h>

#include <X11/Xlib.h>

#include "swim.h"

void focus(cli_t *cli);
void unfocus(cli_t *cli, bool fcs);

bool sendevent(cli_t *cli, Atom prop);
void seturg(cli_t *cli, bool urg);
void spawn(long arg);

#endif /* FUNC_H */