diff options
| author | emersion <contact@emersion.fr> | 2017-09-28 12:45:47 +0200 | 
|---|---|---|
| committer | emersion <contact@emersion.fr> | 2017-09-28 12:45:47 +0200 | 
| commit | 3d03ef2d024add0cb663ab69946da310cd2338ab (patch) | |
| tree | 0385ee2a7b46511f15a5468a05968ebea0777d44 /include | |
| parent | 27ca8eaced73ee6478c42c2b4083c5fe81fc8ff8 (diff) | |
| download | wlroots-3d03ef2d024add0cb663ab69946da310cd2338ab.tar.xz | |
role -> state
Diffstat (limited to 'include')
| -rw-r--r-- | include/wlr/types/wlr_wl_shell.h | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/include/wlr/types/wlr_wl_shell.h b/include/wlr/types/wlr_wl_shell.h index 60398629..d6791247 100644 --- a/include/wlr/types/wlr_wl_shell.h +++ b/include/wlr/types/wlr_wl_shell.h @@ -29,11 +29,11 @@ struct wlr_wl_shell_surface_popup_state {  	uint32_t serial;  }; -enum wlr_wl_shell_surface_role { -	WLR_WL_SHELL_SURFACE_ROLE_NONE, -	WLR_WL_SHELL_SURFACE_ROLE_TOPLEVEL, -	WLR_WL_SHELL_SURFACE_ROLE_TRANSIENT, -	WLR_WL_SHELL_SURFACE_ROLE_POPUP, +enum wlr_wl_shell_surface_state { +	WLR_WL_SHELL_SURFACE_STATE_NONE, +	WLR_WL_SHELL_SURFACE_STATE_TOPLEVEL, +	WLR_WL_SHELL_SURFACE_STATE_TRANSIENT, +	WLR_WL_SHELL_SURFACE_STATE_POPUP,  };  struct wlr_wl_shell_surface { @@ -46,7 +46,7 @@ struct wlr_wl_shell_surface {  	uint32_t ping_serial;  	struct wl_event_source *ping_timer; -	enum wlr_wl_shell_surface_role role; +	enum wlr_wl_shell_surface_state state;  	struct wlr_wl_shell_surface_transient_state *transient_state;  	struct wlr_wl_shell_surface_popup_state *popup_state; @@ -64,7 +64,7 @@ struct wlr_wl_shell_surface {  		struct wl_signal request_set_fullscreen;  		struct wl_signal request_set_maximized; -		struct wl_signal set_role; +		struct wl_signal set_state;  		struct wl_signal set_title;  		struct wl_signal set_class;  	} events; | 
