Make fullscreen windows open on the output which is indicated by their geometry
With this change, multi-monitor presentations (e.g. as implemented by LibreOffice Impress) work out of the box. Previously, one had to move the presentation windows to the right outputs oneself.
This commit is contained in:
committed by
Michael Stapelberg
parent
66d9c983e4
commit
fec1a9511e
@ -79,6 +79,13 @@ Output *get_output_by_name(const char *name);
|
||||
*/
|
||||
Output *get_output_containing(unsigned int x, unsigned int y);
|
||||
|
||||
/**
|
||||
* Returns the active output which spans exactly the area specified by
|
||||
* rect or NULL if there is no output like this.
|
||||
*
|
||||
*/
|
||||
Output *get_output_with_dimensions(Rect rect);
|
||||
|
||||
/*
|
||||
* In contained_by_output, we check if any active output contains part of the container.
|
||||
* We do this by checking if the output rect is intersected by the Rect.
|
||||
|
Reference in New Issue
Block a user