| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The Chromium Authors. | 2 * Copyright 2016 The Chromium Authors. |
| 3 * | 3 * |
| 4 * Permission is hereby granted, free of charge, to any person obtaining a | 4 * Permission is hereby granted, free of charge, to any person obtaining a |
| 5 * copy of this software and associated documentation files (the "Software"), | 5 * copy of this software and associated documentation files (the "Software"), |
| 6 * to deal in the Software without restriction, including without limitation | 6 * to deal in the Software without restriction, including without limitation |
| 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 * and/or sell copies of the Software, and to permit persons to whom the | 8 * and/or sell copies of the Software, and to permit persons to whom the |
| 9 * Software is furnished to do so, subject to the following conditions: | 9 * Software is furnished to do so, subject to the following conditions: |
| 10 * | 10 * |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 { "destroy", "", types + 0 }, | 48 { "destroy", "", types + 0 }, |
| 49 { "get_remote_surface", "nou", types + 6 }, | 49 { "get_remote_surface", "nou", types + 6 }, |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 static const struct wl_message zwp_remote_shell_v1_events[] = { | 52 static const struct wl_message zwp_remote_shell_v1_events[] = { |
| 53 { "configure", "iiiiii", types + 0 }, | 53 { "configure", "iiiiii", types + 0 }, |
| 54 { "activated", "?o?o", types + 9 }, | 54 { "activated", "?o?o", types + 9 }, |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { | 57 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { |
| 58 » "zwp_remote_shell_v1", 1, | 58 » "zwp_remote_shell_v1", 2, |
| 59 2, zwp_remote_shell_v1_requests, | 59 2, zwp_remote_shell_v1_requests, |
| 60 2, zwp_remote_shell_v1_events, | 60 2, zwp_remote_shell_v1_events, |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 static const struct wl_message zwp_remote_surface_v1_requests[] = { | 63 static const struct wl_message zwp_remote_surface_v1_requests[] = { |
| 64 { "destroy", "", types + 0 }, | 64 { "destroy", "", types + 0 }, |
| 65 { "set_app_id", "s", types + 0 }, | 65 { "set_app_id", "s", types + 0 }, |
| 66 { "set_window_geometry", "iiii", types + 0 }, | 66 { "set_window_geometry", "iiii", types + 0 }, |
| 67 { "set_scale", "f", types + 0 }, | 67 { "set_scale", "f", types + 0 }, |
| 68 { "fullscreen", "2", types + 0 }, |
| 69 { "maximize", "2", types + 0 }, |
| 70 { "minimize", "2", types + 0 }, |
| 71 { "restore", "2", types + 0 }, |
| 68 }; | 72 }; |
| 69 | 73 |
| 70 static const struct wl_message zwp_remote_surface_v1_events[] = { | 74 static const struct wl_message zwp_remote_surface_v1_events[] = { |
| 71 { "set_fullscreen", "", types + 0 }, | 75 { "set_fullscreen", "", types + 0 }, |
| 72 { "unset_fullscreen", "", types + 0 }, | 76 { "unset_fullscreen", "", types + 0 }, |
| 73 { "close", "", types + 0 }, | 77 { "close", "", types + 0 }, |
| 78 { "set_maximized", "2", types + 0 }, |
| 79 { "unset_maximized", "2", types + 0 }, |
| 80 { "set_minimize", "2", types + 0 }, |
| 81 { "unset_minimized", "2", types + 0 }, |
| 74 }; | 82 }; |
| 75 | 83 |
| 76 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { | 84 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { |
| 77 » "zwp_remote_surface_v1", 1, | 85 » "zwp_remote_surface_v1", 2, |
| 78 » 4, zwp_remote_surface_v1_requests, | 86 » 8, zwp_remote_surface_v1_requests, |
| 79 » 3, zwp_remote_surface_v1_events, | 87 » 7, zwp_remote_surface_v1_events, |
| 80 }; | 88 }; |
| 81 | 89 |
| OLD | NEW |