Advertisement
Guest User

mindbound

a guest
Nov 13th, 2009
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. bool Window::IsMinimized() const
  2. {
  3.     mWinAttr.map_state = IsUnmapped;
  4.     XGetWindowAttributes(mDisplay, mWin, &mWinAttr);
  5.  
  6.     if (mWinAttr.map_state == IsUnmapped)
  7.     {
  8.         return true;
  9.     }
  10.  
  11.     return false;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement