aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-04-29 00:56:47 +0000
committerokan2013-04-29 00:56:47 +0000
commit57691160415590c63cf83db6c021e377df9f1de4 (patch)
treea7bbc6c710858c08b445ad0e571fbe40d9dfef37 /calmwm.h
parent1474b1efa279e0271abd1fba7efd80869ac96175 (diff)
downloadcwm-57691160415590c63cf83db6c021e377df9f1de4.tar.gz
use an int in screen_init and avoid needing to cast for screen number (which).
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index 7e62548..f1208f2 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.191 2013/04/17 13:57:06 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.192 2013/04/29 00:56:47 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -205,7 +205,7 @@ TAILQ_HEAD(autogroupwin_q, autogroupwin);
struct screen_ctx {
TAILQ_ENTRY(screen_ctx) entry;
- u_int which;
+ int which;
Visual *visual;
Colormap colormap;
Window rootwin;
@@ -374,7 +374,7 @@ void search_print_client(struct menu *, int);
struct geom screen_find_xinerama(struct screen_ctx *, int, int);
struct screen_ctx *screen_fromroot(Window);
-void screen_init(u_int);
+void screen_init(int);
void screen_update_geometry(struct screen_ctx *);
void screen_updatestackingorder(struct screen_ctx *);