summaryrefslogtreecommitdiff
path: root/app/cwm/xevents.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-09-22 14:28:05 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-09-22 14:28:05 +0000
commitbdaf78999bfd331f3bd33d7fb170f7a8983a61a1 (patch)
tree03bc278d528e034aa3eb9ddf12ed996ae4a5561f /app/cwm/xevents.c
parent0dc7ac855cd65e88ead3a9adf3c8df540e149ddd (diff)
*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.
Diffstat (limited to 'app/cwm/xevents.c')
-rw-r--r--app/cwm/xevents.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 9c7ba9793..6427a29ed 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/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.27 2008/09/22 14:15:03 oga Exp $
+ * $Id: xevents.c,v 1.28 2008/09/22 14:28:04 oga Exp $
*/
/*
@@ -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;
}