Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
56804a6
)
Fix possible segfault when a floater receives a configurerequest.
author
Reginald Kennedy
<rk@rejii.com>
Wed, 5 Sep 2012 14:47:31 +0000
(22:47 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Wed, 5 Sep 2012 14:49:57 +0000
(22:49 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
ff3dfbd
..
0abdd65
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-7662,9
+7662,10
@@
configurerequest(xcb_configure_request_event_t *e)
WIDTH(win) = win->g_float.w;
HEIGHT(win) = win->g_float.h;
- stack_floater(win, win->ws->r);
-
- focus_flush();
+ if (r) {
+ stack_floater(win, r);
+ focus_flush();
+ }
} else {
config_win(win, e);
xcb_flush(conn);