polybar-dwm/include/utils/restack.hpp
patrick96 76c7ee3bf6 Introduce restacking utilities
Aim is to clean up restacking logic and remove some duplicated code
2023-05-15 14:44:50 +02:00

15 lines
258 B
C++

#pragma once
#include <xcb/xcb.h>
#include "x11/connection.hpp"
#include "x11/ewmh.hpp"
POLYBAR_NS
namespace restack_util {
void restack_relative(connection& conn, xcb_window_t win, xcb_window_t sibling, xcb_stack_mode_t stack_mode);
}
POLYBAR_NS_END