raise fullscreen windows on top of all other X11 windows

Note that this is ineffective for dunst’s notifications because dunst
re-raises them as soon as they get obscured. It does work for dzen2
however, which was the original use-case.

fixes #569
This commit is contained in:
Michael Stapelberg
2013-04-07 15:38:00 +02:00
parent 3f525eba41
commit 0659a0d98c
3 changed files with 24 additions and 9 deletions

View File

@ -93,8 +93,12 @@ void x_push_changes(Con *con);
* Raises the specified container in the internal stack of X windows. The
* next call to x_push_changes() will make the change visible in X11.
*
* If above_all is true, the X11 window will be raised to the top
* of the stack. This should only be used for precisely one fullscreen
* window per output.
*
*/
void x_raise_con(Con *con);
void x_raise_con(Con *con, bool above_all);
/**
* Sets the WM_NAME property (so, no UTF8, but used only for debugging anyways)