kranewm

An ICCCM & EWMH compliant X11 reparenting, dynamic window manager, written in C++
git clone git://git.deurzen.net/kranewm
Log | Files | Refs | LICENSE

window.hh (816B)


      1 #ifndef __WINSYS_WINDOW_H_GUARD__
      2 #define __WINSYS_WINDOW_H_GUARD__
      3 
      4 #include <cstdlib>
      5 
      6 namespace winsys
      7 {
      8 
      9     typedef std::size_t Window;
     10 
     11     enum class IcccmWindowState
     12     {
     13         Withdrawn,
     14         Normal,
     15         Iconic
     16     };
     17 
     18     enum class WindowState
     19     {
     20         Modal,
     21         Sticky,
     22         MaximizedVert,
     23         MaximizedHorz,
     24         Shaded,
     25         SkipTaskbar,
     26         SkipPager,
     27         Hidden,
     28         Fullscreen,
     29         Above_,
     30         Below_,
     31         DemandsAttention
     32     };
     33 
     34     enum class WindowType
     35     {
     36         Desktop,
     37         Dock,
     38         Toolbar,
     39         Menu,
     40         Utility,
     41         Splash,
     42         Dialog,
     43         DropdownMenu,
     44         PopupMenu,
     45         Tooltip,
     46         Notification,
     47         Combo,
     48         Dnd,
     49         Normal
     50     };
     51 
     52 }
     53 
     54 #endif//__WINSYS_WINDOW_H_GUARD__