Reorder the xdg_shell implementations to fit the spec'd order
This commit is contained in:
+14
-14
@@ -3836,20 +3836,6 @@ handle_surface_configure(void *data, struct xdg_surface *xdg_surface,
|
||||
window_schedule_resize(window, width, height);
|
||||
}
|
||||
|
||||
static void
|
||||
handle_surface_focused_set(void *data, struct xdg_surface *xdg_surface)
|
||||
{
|
||||
struct window *window = data;
|
||||
window->focused = 1;
|
||||
}
|
||||
|
||||
static void
|
||||
handle_surface_focused_unset(void *data, struct xdg_surface *xdg_surface)
|
||||
{
|
||||
struct window *window = data;
|
||||
window->focused = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
handle_surface_request_set_maximized(void *data, struct xdg_surface *xdg_surface)
|
||||
{
|
||||
@@ -3878,6 +3864,20 @@ handle_surface_request_unset_fullscreen(void *data, struct xdg_surface *xdg_surf
|
||||
window_set_fullscreen(window, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
handle_surface_focused_set(void *data, struct xdg_surface *xdg_surface)
|
||||
{
|
||||
struct window *window = data;
|
||||
window->focused = 1;
|
||||
}
|
||||
|
||||
static void
|
||||
handle_surface_focused_unset(void *data, struct xdg_surface *xdg_surface)
|
||||
{
|
||||
struct window *window = data;
|
||||
window->focused = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
handle_surface_delete(void *data, struct xdg_surface *xdg_surface)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user