New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect exclusive zones #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems messy to replicate the miral zone logic.
I still wonder if it can be spoofed by calling tools.place_and_size_for_state()
with a spoofed modifications
to get the corresponding mazimized
placement.
@@ -25,23 +25,51 @@ | |||
|
|||
#include <linux/input.h> | |||
#include <unistd.h> | |||
#include <limits> | |||
#include <iostream> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need <iostream>
std::cerr << "fatal: container_for_rect() called without any containers" << std::endl; | ||
abort(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::cerr << "fatal: container_for_rect() called without any containers" << std::endl; | |
abort(); | |
mir::fatal_error_abort("container_for_rect() called without any containers"); |
Alternative merged |
This augments #28 by preventing the OSK from obscuring the fullscreen app.