more checks in fullscreen event
This commit is contained in:
parent
317b6c430c
commit
c6de4ee4b7
2 changed files with 10 additions and 0 deletions
|
|
@ -477,6 +477,9 @@ void Events::listener_setTitleWindow(void* owner, void* data) {
|
|||
void Events::listener_fullscreenWindow(void* owner, void* data) {
|
||||
CWindow* PWINDOW = (CWindow*)owner;
|
||||
|
||||
if (!PWINDOW->m_bIsMapped || PWINDOW->m_bHidden)
|
||||
return;
|
||||
|
||||
if (!PWINDOW->m_bIsX11) {
|
||||
const auto REQUESTED = &PWINDOW->m_uSurface.xdg->toplevel->requested;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue