>And how are you going to stop games from using protocol for tools? Create another third protocol to authorize them? ;)
Yep. Just making wlrandr privileged is enough.
Changing resolution is a privileged operation that shouldn't be exposed to games. In fact, games just need a way to hint the composer that they want to occupy the full screen (maybe with a specific screen resolution). For example, Mac OS X in these cases allocates a separate _desktop_ and switches to it, leaving other desktops untouched.
>In Xorg there're much simpler solutions to that. I already told you about Ctrl+Alt+Plus/Minus and suggested you to bind `xrandr` call to some hotkey. Alternatively you can create a simple "restorer.sh" script
I don't care. Anything that doesn't work out-of-box is unacceptable.
Sorry, but using shell scripts to restore resolution belongs in early 90-s.
> You don't have Numpad? Weird keyboard...
That's just Mac OS X laptop keyboard.
>Well, you can still get that key! You can remap any of your keys using `xmodmap`.