ewmh.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * wmfs2 by Martin Duquesnoy <xorg62@gmail.com> { for(i = 2011; i < 2111; ++i) ©(i); }
  3. * For license, see COPYING.
  4. */
  5. #ifndef EWMH_H
  6. #define EWMH_H
  7. #include "wmfs.h"
  8. /* Ewmh hints list */
  9. enum
  10. {
  11. /* ICCCM */
  12. wm_state,
  13. /* EWMH */
  14. net_supported,
  15. net_wm_name,
  16. net_client_list,
  17. net_frame_extents,
  18. net_number_of_desktops,
  19. net_current_desktop,
  20. net_desktop_names,
  21. net_desktop_geometry,
  22. net_active_window,
  23. net_close_window,
  24. net_wm_icon_name,
  25. net_wm_window_type,
  26. net_wm_pid,
  27. net_showing_desktop,
  28. net_supporting_wm_check,
  29. net_wm_window_opacity,
  30. net_wm_window_type_normal,
  31. net_wm_window_type_dock,
  32. net_wm_window_type_splash,
  33. net_wm_window_type_dialog,
  34. net_wm_desktop,
  35. net_wm_icon,
  36. net_wm_state,
  37. net_wm_state_fullscreen,
  38. net_wm_state_sticky,
  39. net_wm_state_demands_attention,
  40. net_wm_system_tray_opcode,
  41. net_system_tray_message_data,
  42. net_system_tray_s,
  43. net_system_tray_visual,
  44. net_system_tray_orientation,
  45. xembed,
  46. xembedinfo,
  47. manager,
  48. utf8_string,
  49. /* WMFS HINTS */
  50. wmfs_running,
  51. wmfs_update_hints,
  52. wmfs_current_tag,
  53. wmfs_current_screen,
  54. wmfs_current_layout,
  55. wmfs_tag_list,
  56. wmfs_mwfact,
  57. wmfs_nmaster,
  58. wmfs_set_screen,
  59. wmfs_screen_count,
  60. wmfs_function,
  61. wmfs_cmd,
  62. wmfs_font,
  63. wmfs_statustext,
  64. net_last
  65. };
  66. void ewmh_init(void);
  67. void ewmh_set_wm_state(Window w, int state);
  68. #endif /* EWMH_H */