all repos — tint2 @ dc137ef1a6aaab4047c3b5b6610b36855a971b12

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Fix incorrect memset

git-svn-id: http://tint2.googlecode.com/svn/trunk@653 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
commit

dc137ef1a6aaab4047c3b5b6610b36855a971b12

parent

257cc45adcb3a7bd0ef986ce653b0dcd0390d9c8

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/tint.csrc/tint.c

@@ -998,7 +998,7 @@ } else {

//The source is sending anyway, despite instructions to the contrary. //So reply that we're not interested. XClientMessageEvent m; - memset(&m, sizeof(m), 0); + memset(&m, 0, sizeof(m)); m.type = ClientMessage; m.display = e->display; m.window = e->data.l[0];

@@ -1304,7 +1304,7 @@ free(cmd);

// Reply OK. XClientMessageEvent m; - memset(&m, sizeof(m), 0); + memset(&m, 0, sizeof(m)); m.type = ClientMessage; m.display = server.dsp; m.window = dnd_source_window;