2016-06-14 23:32:35 -04:00
|
|
|
#pragma once
|
|
|
|
|
2016-11-26 18:46:41 -05:00
|
|
|
#include <xcb/xcb.h>
|
2016-11-26 00:13:20 -05:00
|
|
|
#include <xcb/xcb_aux.h>
|
2016-12-26 03:40:15 -05:00
|
|
|
#include <xpp/window.hpp>
|
2016-11-26 00:13:20 -05:00
|
|
|
|
2016-06-14 23:32:35 -04:00
|
|
|
#include "common.hpp"
|
|
|
|
|
2016-11-19 00:22:44 -05:00
|
|
|
POLYBAR_NS
|
2016-06-14 23:32:35 -04:00
|
|
|
|
2016-12-26 03:40:15 -05:00
|
|
|
class connection;
|
2016-06-14 23:32:35 -04:00
|
|
|
|
2016-12-26 03:40:15 -05:00
|
|
|
class window : public xpp::window<connection&> {
|
2016-06-14 23:32:35 -04:00
|
|
|
public:
|
2019-04-07 11:32:55 -04:00
|
|
|
window(const window&) = default;
|
2016-12-26 03:40:15 -05:00
|
|
|
using xpp::window<class connection&>::window;
|
2016-06-14 23:32:35 -04:00
|
|
|
|
2017-01-19 05:11:28 -05:00
|
|
|
window reconfigure_geom(unsigned short int w, unsigned short int h, short int x = 0, short int y = 0);
|
|
|
|
window reconfigure_pos(short int x, short int y);
|
|
|
|
window reconfigure_struts(unsigned short int w, unsigned short int h, short int x, bool bottom = false);
|
2016-06-14 23:32:35 -04:00
|
|
|
};
|
|
|
|
|
2016-11-19 00:22:44 -05:00
|
|
|
POLYBAR_NS_END
|