summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Wong <gtw@gnu.org>2014-05-14 14:24:37 -0600
committerGary Wong <gtw@gnu.org>2014-05-14 14:24:37 -0600
commit0f1da63cdeb2b4203d80c1ab17ee125a21d73704 (patch)
treee045ebae6a3e550db9d542e8504fd185d067fe87
parent1b7e97261d90c83b64869a4b0dee0368d81dba4b (diff)
Fix array size.
-rw-r--r--ChangeLog4
-rw-r--r--gwm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 746142a..a60824b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-14 Gary Wong <gtw@gnu.org>
+
+ * gwm.c (start_managing_window): Fix size of values array.
+
2014-05-08 Gary Wong <gtw@gnu.org>
* decorate-render.c (decorate_compat_init) [USE_CURSOR]: Load
diff --git a/gwm.c b/gwm.c
index 95cea02..19e705e 100644
--- a/gwm.c
+++ b/gwm.c
@@ -1225,7 +1225,7 @@ static void start_managing_window( struct gwm_window *window,
int map_request ) {
int i;
- uint32_t values[ 4 ];
+ uint32_t values[ 5 ];
struct gwm_window *frame, *button;
xcb_window_t w = window->w;