WmEwmh.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * (c) Copyright 1993-2012 The Open Group
  5. * (c) Copyright 2012-2022 CDE Project contributors, see
  6. * CONTRIBUTORS for details
  7. *
  8. * These libraries and programs are free software; you can
  9. * redistribute them and/or modify them under the terms of the GNU
  10. * Lesser General Public License as published by the Free Software
  11. * Foundation; either version 2 of the License, or (at your option)
  12. * any later version.
  13. *
  14. * These libraries and programs are distributed in the hope that
  15. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  16. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  17. * PURPOSE. See the GNU Lesser General Public License for more
  18. * details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with these libraries and programs; if not, write
  22. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  23. * Floor, Boston, MA 02110-1301 USA
  24. */
  25. #ifndef WMEWMH_H
  26. #define WMEWMH_H
  27. #define _NET_WM_STATE_REMOVE 0
  28. #define _NET_WM_STATE_ADD 1
  29. #define _NET_WM_STATE_TOGGLE 2
  30. #define _XA__NET_SUPPORTED "_NET_SUPPORTED"
  31. #define _XA__NET_SUPPORTING_WM_CHECK "_NET_SUPPORTING_WM_CHECK"
  32. #define _XA__NET_WM_NAME "_NET_WM_NAME"
  33. #define _XA__NET_WM_ICON_NAME "_NET_WM_ICON_NAME"
  34. #define _XA__NET_WM_VISIBLE_NAME "_NET_WM_VISIBLE_NAME"
  35. #define _XA__NET_WM_VISIBLE_ICON_NAME "_NET_WM_VISIBLE_ICON_NAME"
  36. #define _XA__NET_WM_FULLSCREEN_MONITORS "_NET_WM_FULLSCREEN_MONITORS"
  37. #define _XA__NET_WM_STATE "_NET_WM_STATE"
  38. #define _XA__NET_WM_STATE_FULLSCREEN "_NET_WM_STATE_FULLSCREEN"
  39. #define _XA__NET_WM_STATE_MAXIMIZED_VERT "_NET_WM_STATE_MAXIMIZED_VERT"
  40. #define _XA__NET_WM_STATE_MAXIMIZED_HORZ "_NET_WM_STATE_MAXIMIZED_HORZ"
  41. void ProcessNetWmFullscreenMonitors (ClientData *pCD,
  42. long top, long bottom, long left, long right);
  43. void ProcessNetWmState (ClientData *pCD, long action,
  44. long firstProperty, long secondProperty);
  45. void SetupWmEwmh (void);
  46. #endif