diff options
author | Henry Hu <henry.hu.sh@gmail.com> | 2016-05-15 21:32:20 -0400 |
---|---|---|
committer | Henry Hu <henry.hu.sh@gmail.com> | 2016-05-15 21:32:20 -0400 |
commit | 1d6522d4b24d824865529b6516bab4123c950f95 (patch) | |
tree | 5bef8a8356efcab77630840b36662d4299002ac3 /src-qt5/core/libLumina | |
parent | use WM_CHANGE_STATE to minimize window (diff) | |
download | lumina-1d6522d4b24d824865529b6516bab4123c950f95.tar.gz lumina-1d6522d4b24d824865529b6516bab4123c950f95.tar.bz2 lumina-1d6522d4b24d824865529b6516bab4123c950f95.zip |
initialize struct before using it
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r-- | src-qt5/core/libLumina/LuminaX11.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaX11.cpp b/src-qt5/core/libLumina/LuminaX11.cpp index 1892f135..31720e72 100644 --- a/src-qt5/core/libLumina/LuminaX11.cpp +++ b/src-qt5/core/libLumina/LuminaX11.cpp @@ -682,6 +682,7 @@ void LXCB::MinimizeWindow(WId win){ //request that the window be unmapped/minimi //Need to send a client message event for the window so the WM picks it up xcb_client_message_event_t event; + memset(&event, 0, sizeof(event)); event.response_type = XCB_CLIENT_MESSAGE; event.format = 32; event.window = win; |