diff options
author | okan | 2013-07-09 01:24:49 +0000 |
---|---|---|
committer | okan | 2013-07-09 01:24:49 +0000 |
commit | 0be19ed3a4dda428d7845aa2493138db0a4c353c (patch) | |
tree | cd1e4c1d751f15237b78e39bd933df3d17abdd5d /calmwm.h | |
parent | ee5ad9e95b20897654c9830178f8f707b65adbe8 (diff) | |
download | cwm-0be19ed3a4dda428d7845aa2493138db0a4c353c.tar.gz |
since the root and event window are the same in the case of a button
event on the screen's root window, there's no need to pass down the
entire XButtonEvent event, at least to group_menu(), the only callback
which takes an argument at this point; instead use the already populated
screen.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.216 2013/07/08 18:39:20 okan Exp $ + * $OpenBSD: calmwm.h,v 1.217 2013/07/09 01:24:49 okan Exp $ */ #ifndef _CALMWM_H_ @@ -360,7 +360,7 @@ void group_autogroup(struct client_ctx *); void group_cycle(struct screen_ctx *, int); void group_hidetoggle(struct screen_ctx *, int); void group_init(struct screen_ctx *); -void group_menu(XButtonEvent *); +void group_menu(struct screen_ctx *); void group_movetogroup(struct client_ctx *, int); void group_only(struct screen_ctx *, int); void group_sticky(struct client_ctx *); |