2016-10-11 23:36:11 +02:00
|
|
|
#pragma once
|
|
|
|
|
2016-11-02 20:22:45 +01:00
|
|
|
#include <i3ipc++/ipc.hpp>
|
2016-10-11 23:36:11 +02:00
|
|
|
|
|
|
|
#include "common.hpp"
|
2016-11-02 20:22:45 +01:00
|
|
|
#include "x11/randr.hpp"
|
2016-10-12 04:24:12 +02:00
|
|
|
|
2016-11-19 06:22:44 +01:00
|
|
|
POLYBAR_NS
|
2016-10-11 23:36:11 +02:00
|
|
|
|
2016-11-26 06:13:20 +01:00
|
|
|
class connection;
|
|
|
|
|
2016-10-11 23:36:11 +02:00
|
|
|
namespace i3_util {
|
2016-10-12 03:57:22 +02:00
|
|
|
using connection_t = i3ipc::connection;
|
|
|
|
|
2016-11-25 13:55:15 +01:00
|
|
|
vector<xcb_window_t> root_windows(connection& conn, const string& output_name = "");
|
2016-11-02 20:22:45 +01:00
|
|
|
bool restack_above_root(connection& conn, const monitor_t& mon, const xcb_window_t win);
|
2016-10-11 23:36:11 +02:00
|
|
|
}
|
|
|
|
|
2016-11-19 06:22:44 +01:00
|
|
|
POLYBAR_NS_END
|