diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-10-26 18:45:08 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-10-26 18:45:08 +0000 |
| commit | 3c37f74539cf870d563c44b92fc82852b5c46012 (patch) | |
| tree | eb25ed884c7861eb232c05c637db9fa07f0aa5b4 /src/plugins/Ui/skinned/windowsystem.cpp | |
| parent | b3d32cd1275310aa7c536c2703abdd3b2f237b9d (diff) | |
| download | qmmp-3c37f74539cf870d563c44b92fc82852b5c46012.tar.gz qmmp-3c37f74539cf870d563c44b92fc82852b5c46012.tar.bz2 qmmp-3c37f74539cf870d563c44b92fc82852b5c46012.zip | |
fixed memory leaks and other errors
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7649 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/windowsystem.cpp')
| -rw-r--r-- | src/plugins/Ui/skinned/windowsystem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/Ui/skinned/windowsystem.cpp b/src/plugins/Ui/skinned/windowsystem.cpp index a971214b3..e4489a250 100644 --- a/src/plugins/Ui/skinned/windowsystem.cpp +++ b/src/plugins/Ui/skinned/windowsystem.cpp @@ -1,7 +1,7 @@ /*************************************************************************** * Based on Licq * * Copyright (C) 2006-2009 Licq developers * - * Copyright (C) 2011-2016 Ilya Kotov * + * Copyright (C) 2011-2017 Ilya Kotov * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -180,7 +180,6 @@ unsigned char* WindowSystem::getWindowProperty(WId win, const char* prop) return NULL; // These are not needed for now. - retCheck = None; retFormat = 0; retItems = 0UL; @@ -219,7 +218,7 @@ void WindowSystem::revertGravity(WId win) sh.win_gravity = NorthWestGravity; else return; - sh.win_gravity = NorthWestGravity; + XSetWMNormalHints(dsp, win, &sh); XSetWindowAttributes xs; |
