aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaX11.cpp
diff options
context:
space:
mode:
authorHenry Hu <henry.hu.sh@gmail.com>2016-05-15 21:32:20 -0400
committerHenry Hu <henry.hu.sh@gmail.com>2016-05-15 21:32:20 -0400
commit1d6522d4b24d824865529b6516bab4123c950f95 (patch)
tree5bef8a8356efcab77630840b36662d4299002ac3 /src-qt5/core/libLumina/LuminaX11.cpp
parentuse WM_CHANGE_STATE to minimize window (diff)
downloadlumina-1d6522d4b24d824865529b6516bab4123c950f95.tar.gz
lumina-1d6522d4b24d824865529b6516bab4123c950f95.tar.bz2
lumina-1d6522d4b24d824865529b6516bab4123c950f95.zip
initialize struct before using it
Diffstat (limited to 'src-qt5/core/libLumina/LuminaX11.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaX11.cpp1
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;
bgstack15