diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-05-31 18:03:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-05-31 18:05:01 +0200 |
commit | 34fef69fd468f695b3b5817da6a9980ac7b5860d (patch) | |
tree | 9b0f50279b269e6e1a429bd313d24491ff9cc4e7 /include/QuickMedia.hpp | |
parent | 68a2660da9ea4c660feda5d8569a8f43108964ec (diff) |
Add dmenu option
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r-- | include/QuickMedia.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 19d84a8..cd410c3 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -12,6 +12,8 @@ #include <unordered_set> #include <future> #include <stack> +#include <X11/Xlib.h> +#include <X11/Xatom.h> namespace QuickMedia { class Plugin; @@ -49,6 +51,7 @@ namespace QuickMedia { // Returns Page::EXIT if empty Page pop_page_stack(); private: + Display *disp; sf::RenderWindow window; sf::Vector2f window_size; sf::Font font; @@ -77,5 +80,6 @@ namespace QuickMedia { std::future<void> image_download_future; std::string downloading_chapter_url; bool image_download_cancel = false; + int exit_code = 0; }; }
\ No newline at end of file |