X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fevent.c;h=cc875d5653e72eaa28e4325703af8ba15e046341;hb=6cd5f7ea380e155dbd7b29f01dd3fcfb5858ad61;hp=5ef329c3e9e46a603efb1ce362e92a2bf22bcb7d;hpb=c1a5ad45a8f02cd0728852c3765f411d7b12dec3;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 5ef329c3..cc875d56 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -442,7 +442,7 @@ static void event_process(const XEvent *ec, gpointer data) if (XCheckIfEvent(ob_display, &ce, look_for_focusin, NULL)) { XPutBackEvent(ob_display, &ce); ob_debug_type(OB_DEBUG_FOCUS, - " but another FocusIn is coming\n)"); + " but another FocusIn is coming\n"); } else { /* Focus has been reverted to the root window, nothing, or to our frame window. @@ -591,7 +591,7 @@ static void event_handle_root(XEvent *e) ob_debug_type(OB_DEBUG_APP_BUGS, "_NET_CURRENT_DESKTOP message is missing " "a timestamp\n"); - screen_set_desktop(d); + screen_set_desktop(d, TRUE); } } else if (msgtype == prop_atoms.net_number_of_desktops) { guint d = e->xclient.data.l[0]; @@ -1128,6 +1128,8 @@ static void event_handle_client(ObClient *client, XEvent *e) msgtype == prop_atoms.net_wm_icon_name || msgtype == prop_atoms.wm_icon_name) { client_update_title(client); + } else if (msgtype == prop_atoms.wm_command) { + client_update_command(client); } else if (msgtype == prop_atoms.wm_class) { client_update_class(client); } else if (msgtype == prop_atoms.wm_protocols) {