diff options
author | okan | 2016-09-30 15:12:19 +0000 |
---|---|---|
committer | okan | 2016-09-30 15:12:19 +0000 |
commit | 6683b9c99889c3bbc28f721777801aef4ba84bf9 (patch) | |
tree | 7a98784f1ec4f4fb8c51e38d1158900be138664c /calmwm.h | |
parent | 91a18250def9bac118f6198caf2b551ee606ce4d (diff) | |
download | cwm-6683b9c99889c3bbc28f721777801aef4ba84bf9.tar.gz |
Replace mousefunc_sweep_draw() with a generic menu_windraw() using va
lists; use it appropriately for both window dimension and position in
the respective mousefunc calls.
ok bryent@
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 3 insertions, 1 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.316 2016/09/29 00:21:55 okan Exp $ + * $OpenBSD: calmwm.h,v 1.317 2016/09/30 15:12:19 okan Exp $ */ #ifndef _CALMWM_H_ @@ -511,6 +511,8 @@ void mousefunc_client_move(struct client_ctx *, void mousefunc_client_resize(struct client_ctx *, union arg *); +void menu_windraw(struct screen_ctx *, Window, + const char *, ...); struct menu *menu_filter(struct screen_ctx *, struct menu_q *, const char *, const char *, int, void (*)(struct menu_q *, struct menu_q *, char *), |