mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-26 14:55:58 +01:00
f32c0abcf2
Alongside with the 2 previous commits.
31 lines
No EOL
735 B
C++
31 lines
No EOL
735 B
C++
#include <inttypes.h>
|
|
|
|
#include <thread>
|
|
|
|
#include "../windowManager.hpp"
|
|
|
|
namespace Events {
|
|
EVENT(Enter);
|
|
EVENT(Leave);
|
|
EVENT(Destroy);
|
|
EVENT(MapWindow);
|
|
EVENT(UnmapWindow);
|
|
EVENT(ButtonPress);
|
|
EVENT(ButtonRelease);
|
|
EVENT(Expose);
|
|
EVENT(KeyPress);
|
|
EVENT(MotionNotify);
|
|
|
|
// Bypass some events for floating windows
|
|
CWindow* remapWindow(int, bool floating = false, int forcemonitor = -1);
|
|
CWindow* remapFloatingWindow(int, int forcemonitor = -1);
|
|
|
|
// A thread to notify xcb to redraw our shiz
|
|
void redraw();
|
|
void setThread();
|
|
|
|
inline timer_t timerid;
|
|
|
|
// For docks etc
|
|
inline bool nextWindowCentered = false;
|
|
}; |