YggdrasilWM  0.1.1
A tiny window manager coded in C++
Grow.hpp
Go to the documentation of this file.
1 
27 #ifndef YGGDRASILWM_GROW_HPP
28 #define YGGDRASILWM_GROW_HPP
29 #include "Commands/CommandBase.hpp"
30 extern "C" {
31 #include <X11/Xlib.h>
32 }
38  int inc;
39  Window subwindow;
40  Window window;
41  unsigned int state;
42  unsigned int keycode;
43 };
44 
45 class Grow : public CommandBase {
46 public:
47  Grow();
48  ~Grow() override = default;
54  void execute(const std::string &args) override;
55  static DeserializedXKeyEvent deserializeXKeyEvent(const std::string &serializedEvent);
56 };
57 #endif //YGGDRASILWM_GROW_HPP
CommandBase class header.
Definition: CommandBase.hpp:35
Grow a window.
Definition: Grow.hpp:45
void execute(const std::string &args) override
Each child class must implement this interface.
Definition: Grow.cpp:37
static DeserializedXKeyEvent deserializeXKeyEvent(const std::string &serializedEvent)
Definition: Grow.cpp:50
Grow()
Definition: Grow.cpp:33
~Grow() override=default
Definition: Grow.hpp:37
Window window
Definition: Grow.hpp:40
unsigned int state
Definition: Grow.hpp:41
int inc
Definition: Grow.hpp:38
Window subwindow
Definition: Grow.hpp:39
unsigned int keycode
Definition: Grow.hpp:42