aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio/client.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-08-06 12:57:43 +0000
committerrsc <devnull@localhost>2004-08-06 12:57:43 +0000
commit56afeac8ea058ac0c0637df224e8a55450691eed (patch)
treefb1f900d743e9e78f13eab88bfdbbad417a841e6 /src/cmd/rio/client.c
parent0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e (diff)
downloadplan9port-56afeac8ea058ac0c0637df224e8a55450691eed.tar.gz
plan9port-56afeac8ea058ac0c0637df224e8a55450691eed.tar.bz2
plan9port-56afeac8ea058ac0c0637df224e8a55450691eed.zip
different delete handling from axel.
who knows what it fixes or breaks.
Diffstat (limited to 'src/cmd/rio/client.c')
-rw-r--r--src/cmd/rio/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/rio/client.c b/src/cmd/rio/client.c
index 5222f210..16168b49 100644
--- a/src/cmd/rio/client.c
+++ b/src/cmd/rio/client.c
@@ -23,11 +23,11 @@ setactive(Client *c, int on)
XUngrabButton(dpy, AnyButton, AnyModifier, c->parent);
XSetInputFocus(dpy, c->window, RevertToPointerRoot, timestamp());
if (c->proto & Ptakefocus)
- sendcmessage(c->window, wm_protocols, wm_take_focus, 0);
+ sendcmessage(c->window, wm_protocols, wm_take_focus, 0, 0);
cmapfocus(c);
} else {
if (c->proto & Plosefocus)
- sendcmessage(c->window, wm_protocols, wm_lose_focus, 0);
+ sendcmessage(c->window, wm_protocols, wm_lose_focus, 0, 0);
XGrabButton(dpy, AnyButton, AnyModifier, c->parent, False,
ButtonMask, GrabModeAsync, GrabModeSync, None, None);
}