diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-03-01 16:19:23 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | b4d7e84d3852ea93d2aab22f5993f84a7060b950 (patch) | |
tree | b3b3e32af7044e3af6679482a861e650e20eed62 /sway/input/cursor.c | |
parent | layer-shell: don't configure uninitialized surfaces (diff) | |
download | sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.tar.gz sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.tar.zst sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.zip |
desktop: Rename layers to shell_layers
This code will be deleted later, but for the time being rename
it so it doesn't conflict with future properties.
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 6b6faf64..73aef4b0 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -115,7 +115,7 @@ struct sway_node *node_at_coords( | |||
115 | 115 | ||
116 | // layer surfaces on the overlay layer are rendered on top | 116 | // layer surfaces on the overlay layer are rendered on top |
117 | if ((*surface = layer_surface_at(output, | 117 | if ((*surface = layer_surface_at(output, |
118 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], | 118 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], |
119 | ox, oy, sx, sy))) { | 119 | ox, oy, sx, sy))) { |
120 | return NULL; | 120 | return NULL; |
121 | } | 121 | } |
@@ -176,22 +176,22 @@ struct sway_node *node_at_coords( | |||
176 | return NULL; | 176 | return NULL; |
177 | } | 177 | } |
178 | if ((*surface = layer_surface_popup_at(output, | 178 | if ((*surface = layer_surface_popup_at(output, |
179 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], | 179 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], |
180 | ox, oy, sx, sy))) { | 180 | ox, oy, sx, sy))) { |
181 | return NULL; | 181 | return NULL; |
182 | } | 182 | } |
183 | if ((*surface = layer_surface_popup_at(output, | 183 | if ((*surface = layer_surface_popup_at(output, |
184 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], | 184 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], |
185 | ox, oy, sx, sy))) { | 185 | ox, oy, sx, sy))) { |
186 | return NULL; | 186 | return NULL; |
187 | } | 187 | } |
188 | if ((*surface = layer_surface_popup_at(output, | 188 | if ((*surface = layer_surface_popup_at(output, |
189 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND], | 189 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND], |
190 | ox, oy, sx, sy))) { | 190 | ox, oy, sx, sy))) { |
191 | return NULL; | 191 | return NULL; |
192 | } | 192 | } |
193 | if ((*surface = layer_surface_at(output, | 193 | if ((*surface = layer_surface_at(output, |
194 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], | 194 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], |
195 | ox, oy, sx, sy))) { | 195 | ox, oy, sx, sy))) { |
196 | return NULL; | 196 | return NULL; |
197 | } | 197 | } |
@@ -202,12 +202,12 @@ struct sway_node *node_at_coords( | |||
202 | } | 202 | } |
203 | 203 | ||
204 | if ((*surface = layer_surface_at(output, | 204 | if ((*surface = layer_surface_at(output, |
205 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], | 205 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], |
206 | ox, oy, sx, sy))) { | 206 | ox, oy, sx, sy))) { |
207 | return NULL; | 207 | return NULL; |
208 | } | 208 | } |
209 | if ((*surface = layer_surface_at(output, | 209 | if ((*surface = layer_surface_at(output, |
210 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND], | 210 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND], |
211 | ox, oy, sx, sy))) { | 211 | ox, oy, sx, sy))) { |
212 | return NULL; | 212 | return NULL; |
213 | } | 213 | } |