mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
fca4151f36
Fixes compilation under GCC 9 The default copy constructor implicit generation is deprecated by C++ standard. The window& operator=(const xcb_window_t win); operator seems to be useless. Fixes #1728 Ref jaagr/xpp#16
23 lines
566 B
C++
23 lines
566 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:
|
|
window(const window&) = default;
|
|
using xpp::window<class connection&>::window;
|
|
|
|
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
|