input tweaks
This commit is contained in:
parent
2e5435fe91
commit
221acebf2c
4 changed files with 14 additions and 8 deletions
|
|
@ -191,7 +191,7 @@ void Events::listener_unmapLayerSurface(wl_listener* listener, void* data) {
|
|||
void Events::listener_commitLayerSurface(wl_listener* listener, void* data) {
|
||||
SLayerSurface* layersurface = wl_container_of(listener, layersurface, listen_commitLayerSurface);
|
||||
|
||||
if (!layersurface->layerSurface->output)
|
||||
if (!layersurface->layerSurface || !layersurface->layerSurface->output)
|
||||
return;
|
||||
|
||||
const auto PMONITOR = g_pCompositor->getMonitorFromOutput(layersurface->layerSurface->output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue