X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fevent.c;h=00b0bfffa9f885896a553bc1999ec5fc781d9781;hb=ad5b92588fbe36100cdc4ae7064883cd16e13a1e;hp=ba156da6fc35952fc6b2cedc0d30b01cc5addaa7;hpb=eea1a9fef91686a511ae0a8590dbb6df02c26470;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index ba156da6..00b0bfff 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -736,6 +736,9 @@ static void event_process(const XEvent *ec, gpointer data) used = event_handle_prompt(prompt, e); } + /* show any debug prompts that are queued */ + ob_debug_show_prompts(); + /* if something happens and it's not from an XEvent, then we don't know the time, so clear it here until the next event is handled */ event_curtime = event_sourcetime = CurrentTime; @@ -1492,7 +1495,8 @@ static void event_handle_client(ObClient *client, XEvent *e) } else if ((Atom)e->xclient.data.l[2] == OBT_PROP_ATOM(NET_WM_MOVERESIZE_CANCEL)) - moveresize_end(TRUE); + if (moveresize_client) + moveresize_end(TRUE); } else if (msgtype == OBT_PROP_ATOM(NET_MOVERESIZE_WINDOW)) { gint ograv, x, y, w, h; @@ -1678,6 +1682,9 @@ static void event_handle_client(ObClient *client, XEvent *e) event_last_user_time = t; } } + else if (msgtype == OBT_PROP_ATOM(NET_WM_WINDOW_OPACITY)) { + client_update_opacity(client); + } #ifdef SYNC else if (msgtype == OBT_PROP_ATOM(NET_WM_SYNC_REQUEST_COUNTER)) { /* if they are resizing right now this would cause weird behaviour.