Thanks to eagle-eyed axeld. Sorry for not getting an almost one-liner
right on first try...
This commit is contained in:
Humdinger 2016-11-16 17:38:31 +01:00
parent a07a1391f1
commit b6d62e21b9

View File

@ -189,7 +189,7 @@ KeyboardFilter::Filter(BMessage* message, EventTarget** _target,
// Check for safe video mode (shift + cmd + ctrl + escape)
if (key == 0x01 && (modifiers & B_COMMAND_KEY) != 0
&& (modifiers & B_CONTROL_KEY) != 0
&& (modifiers & B_SHIFT_KEY) != 0){
&& (modifiers & B_SHIFT_KEY) != 0) {
system("screenmode --fall-back &");
return B_SKIP_MESSAGE;
}