Hypr/src/ewmh/ewmh.hpp

20 lines
493 B
C++
Raw Normal View History

2021-11-24 21:23:14 +01:00
#pragma once
#include "../defines.hpp"
namespace EWMH {
void setupInitEWMH();
2021-12-13 20:21:54 +01:00
void updateCurrentWindow(xcb_window_t);
2021-12-21 10:46:22 +01:00
void updateWindow(xcb_window_t);
2021-12-13 20:21:54 +01:00
void updateClientList();
2021-12-19 02:39:54 +01:00
void setFrameExtents(xcb_window_t);
2021-12-21 09:41:55 +01:00
void refreshAllExtents();
void updateDesktops();
namespace DesktopInfo {
inline int lastid = 0;
};
2021-11-24 21:23:14 +01:00
2021-12-19 02:39:54 +01:00
inline xcb_window_t EWMHwindow = XCB_WINDOW_NONE;
};