*sigh* Revert the diff that wasn't meant to go in yet.

note to self: When you mean to type cvs commit search.c, don't forget
the filename.
This commit is contained in:
oga
2008-09-22 14:28:04 +00:00
parent 61601991b5
commit 60a88f54cc
7 changed files with 25 additions and 186 deletions

View File

@@ -375,22 +375,6 @@ xev_handle_shape(struct xevent *xev, XEvent *ee)
client_do_shape(cc);
}
void
xev_handle_randr(struct xevent *xev, XEvent *ee)
{
XRRScreenChangeNotifyEvent *rev = (XRRScreenChangeNotifyEvent *)ee;
struct client_ctx *cc;
struct screen_ctx *sc;
if ((cc = client_find(rev->window)) != NULL) {
XRRUpdateConfiguration(ee);
sc = CCTOSC(cc);
sc->xmax = rev->width;
sc->ymax = rev->height;
screen_init_xinerama(sc);
}
}
/*
* Called when the keymap has changed.
* Ungrab all keys, reload keymap and then regrab
@@ -541,8 +525,6 @@ xev_loop(void)
default:
if (e.type == Shape_ev)
xev_handle_shape(xev, &e);
else if (e.type == Randr_ev)
xev_handle_randr(xev, &e);
break;
}