aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2016-09-30 15:12:19 +0000
committerokan2016-09-30 15:12:19 +0000
commit6683b9c99889c3bbc28f721777801aef4ba84bf9 (patch)
tree7a98784f1ec4f4fb8c51e38d1158900be138664c /calmwm.h
parent91a18250def9bac118f6198caf2b551ee606ce4d (diff)
downloadcwm-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 'calmwm.h')
-rw-r--r--calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 3ad75e4..6b8acca 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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 *),