diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-02-26 18:03:04 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-02-26 18:17:50 +0000 |
commit | d65795048584c78a9a7526f68c840ceed47ab82a (patch) | |
tree | 4a065bc018290f7564444636a15b6f7c1b9e973e /hw/xwin/winrandr.c | |
parent | 3cfa6cd1ac801a62b45345ceabf02e114a4b489c (diff) |
Fix a crash in reloading multiwindow mode icons when not in multiwindow mode.unmap-minimized-windows
ReloadEnumWindowsProc() acesses window privates, which are only valid in
multiwindow mode, but is called in all modes.
Fix this potential crash by not doing this unless in multiwindow mode.
Reproduction steps:
1/ XWin -mwextwm
2/ Run a client which creates an X window e.g. xterm
3/ Right click on notification area icon, and choose 'Reload .XWinrc' from the menu
Diffstat (limited to 'hw/xwin/winrandr.c')
0 files changed, 0 insertions, 0 deletions