summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-11 23:31:43 +0000
committerDana Jansens <danakj@orodu.net>2003-05-11 23:31:43 +0000
commit7c7868f47d42796a236c9a1813bed5fe9f0d4f41 (patch)
tree0b9d71986738ed2a4a13071fabe538f2f813c7df /openbox/event.c
parentfed4a9e70b516a404ebf93024a32d849f81a8e7d (diff)
add internal popups n shit to the stacking list.
some cleanups for the stacking order hint. add non-opaque move/resize. cant toggle it yet.
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/event.c b/openbox/event.c
index eecda14e..5a0d6a02 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -638,13 +638,13 @@ static void event_handle_client(Client *client, XEvent *e)
switch (e->xconfigurerequest.detail) {
case Below:
case BottomIf:
- stacking_lower(client);
+ stacking_lower(CLIENT_AS_WINDOW(client));
break;
case Above:
case TopIf:
default:
- stacking_raise(client);
+ stacking_raise(CLIENT_AS_WINDOW(client));
break;
}
}
@@ -689,7 +689,7 @@ static void event_handle_client(Client *client, XEvent *e)
if (client->shaded)
client_shade(client, FALSE);
client_focus(client);
- stacking_raise(client);
+ stacking_raise(CLIENT_AS_WINDOW(client));
break;
case ClientMessage:
/* validate cuz we query stuff off the client here */