use an int in screen_init and avoid needing to cast for screen number (which).

This commit is contained in:
okan
2013-04-29 00:56:47 +00:00
parent 006a29e617
commit 94e341725b
3 changed files with 4 additions and 4 deletions

View File

@@ -362,7 +362,7 @@ xev_handle_randr(XEvent *ee)
i = XRRRootToScreen(X_Dpy, rev->root);
TAILQ_FOREACH(sc, &Screenq, entry) {
if (sc->which == (u_int)i) {
if (sc->which == i) {
XRRUpdateConfiguration(ee);
screen_update_geometry(sc);
}