diff gui/wm/ws.c @ 35639:2e7f2ecaaf0b

Don't define a function by a macro. Use a proper function definition.
author ib
date Thu, 10 Jan 2013 20:52:37 +0000
parents 58d55c933757
children 4aa0a4326dc8
line wrap: on
line diff
--- a/gui/wm/ws.c	Thu Jan 10 19:23:37 2013 +0000
+++ b/gui/wm/ws.c	Thu Jan 10 20:52:37 2013 +0000
@@ -1536,6 +1536,16 @@
     return 0;
 }
 
+/**
+ * @brief Clear the entire area in a window.
+ *
+ * @param win pointer to a ws window structure
+ */
+void wsClearWindow(wsTWindow *win)
+{
+    XClearWindow(wsDisplay, win->WindowID);
+}
+
 void wsSetTitle(wsTWindow *win, char *name)
 {
     XStoreName(wsDisplay, win->WindowID, name);