src/Builder4/WindowLeftTree.vala
"motion" : [
"( x, y) => {",
" ",
- "\tvar is_shift = _this.keystate.is_shift;",
+ "\tvar is_shift = _this.keystate.is_shift > 0;",
"\t",
"\tGLib.debug(\"shift is %d, %s\", _this.keystate.is_shift ? \"SHIFT\" : \"-\");",
"\tstring pos; // over / before / after..",
});
this.el.motion.connect( ( x, y) => {
- var is_shift = _this.keystate.is_shift;
+ var is_shift = _this.keystate.is_shift > 0;
GLib.debug("shift is %d, %s", _this.keystate.is_shift ? "SHIFT" : "-");
string pos; // over / before / after..