We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93bbfb7 commit 1830579Copy full SHA for 1830579
src/ShellClients/ShellClientsManager.vala
@@ -210,7 +210,7 @@ public class Gala.ShellClientsManager : Object {
210
211
switch (key) {
212
case "anchor":
213
- int parsed;
+ int parsed; // Will be used as Meta.Side which is a 4 value bitfield so check bounds for that
214
if (int.try_parse (val, out parsed) && 0 <= parsed && parsed <= 15) {
215
set_anchor (window, parsed);
216
} else {
@@ -219,7 +219,7 @@ public class Gala.ShellClientsManager : Object {
219
break;
220
221
case "hide-mode":
222
+ int parsed; // Will be used as Pantheon.Desktop.HideMode which is a 5 value enum so check bounds for that
223
if (int.try_parse (val, out parsed) && 0 <= parsed && parsed <= 4) {
224
set_hide_mode (window, parsed);
225
0 commit comments