wl_client_side_decorations.h 633 B

123456789101112131415161718
  1. /*
  2. * Copyright (C) 2021 Kovid Goyal <kovid at kovidgoyal.net>
  3. *
  4. * Distributed under terms of the GPL3 license.
  5. */
  6. #pragma once
  7. #include "internal.h"
  8. void csd_initialize_metrics(_GLFWwindow *window);
  9. void csd_free_all_resources(_GLFWwindow *window);
  10. bool csd_change_title(_GLFWwindow *window);
  11. void csd_set_window_geometry(_GLFWwindow *window, int32_t *width, int32_t *height);
  12. bool csd_set_titlebar_color(_GLFWwindow *window, uint32_t color, bool use_system_color);
  13. void csd_set_visible(_GLFWwindow *window, bool visible);
  14. void csd_handle_pointer_event(_GLFWwindow *window, int button, int state, struct wl_surface* surface);