1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-03 04:33:30 -05:00
polybar/include/x11/window.hpp
2017-01-24 10:49:14 +01:00

24 lines
577 B
C++

#pragma once
#include <xcb/xcb.h>
#include <xcb/xcb_aux.h>
#include <xpp/window.hpp>
#include "common.hpp"
POLYBAR_NS
class connection;
class window : public xpp::window<connection&> {
public:
using xpp::window<class connection&>::window;
window& operator=(const xcb_window_t win);
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);
};
POLYBAR_NS_END