aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authoroga2009-12-10 23:14:58 +0000
committeroga2009-12-10 23:14:58 +0000
commit067d8c9f41a0c6d9cd87c31432b56057e0da2c5d (patch)
tree1a34696a62fbf4f3c12b8a4bdcdc953f71fdb8b1 /xevents.c
parent14ac3391c5d071a67de062f4857280212e12afdb (diff)
downloadcwm-067d8c9f41a0c6d9cd87c31432b56057e0da2c5d.tar.gz
Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT and
_NET_DESKTOP_GEOMETRY. ok okan@
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xevents.c b/xevents.c
index b914484..69bbec4 100644
--- a/xevents.c
+++ b/xevents.c
@@ -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.
*
- * $Id: xevents.c,v 1.45 2009/12/10 17:16:51 oga Exp $
+ * $Id: xevents.c,v 1.46 2009/12/10 23:14:58 oga Exp $
*/
/*
@@ -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);
}
}