2016-10-11 17:36:11 -04:00
|
|
|
#pragma once
|
|
|
|
|
2016-11-02 15:22:45 -04:00
|
|
|
#include <i3ipc++/ipc.hpp>
|
2016-10-11 17:36:11 -04:00
|
|
|
|
|
|
|
#include "common.hpp"
|
2016-11-02 15:22:45 -04:00
|
|
|
#include "x11/connection.hpp"
|
|
|
|
#include "x11/randr.hpp"
|
2016-10-11 22:24:12 -04:00
|
|
|
|
2016-10-11 17:36:11 -04:00
|
|
|
LEMONBUDDY_NS
|
|
|
|
|
|
|
|
namespace i3_util {
|
2016-10-11 21:57:22 -04:00
|
|
|
using connection_t = i3ipc::connection;
|
|
|
|
|
2016-11-02 15:22:45 -04:00
|
|
|
vector<xcb_window_t> root_windows(connection& conn, string output_name = "");
|
|
|
|
bool restack_above_root(connection& conn, const monitor_t& mon, const xcb_window_t win);
|
2016-10-11 17:36:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
LEMONBUDDY_NS_END
|