Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT and

_NET_DESKTOP_GEOMETRY.

ok okan@
This commit is contained in:
oga
2009-12-10 23:14:58 +00:00
parent 134e777cf0
commit a7c3a7cac3
6 changed files with 45 additions and 22 deletions

View File

@@ -368,8 +368,7 @@ xev_handle_randr(XEvent *ee)
TAILQ_FOREACH(sc, &Screenq, entry) {
if (sc->which == (u_int)i) {
XRRUpdateConfiguration(ee);
sc->xmax = rev->width;
sc->ymax = rev->height;
screen_update_geometry(sc, rev->width, rev->height);
screen_init_xinerama(sc);
}
}