X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=c529f15648e12dcb790b3866fcafe621a17ba272;hb=65d50861ada11f5409680de285f461f16e78c090;hp=6bf6e87b27cde03ed9709a78d8556a8b450a8a33;hpb=220015e56e0b8ce1a00bd0f6e89bc25bb6e73cbf;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 6bf6e87b..c529f156 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -577,9 +577,6 @@ static void event_process(const XEvent *ec, gpointer data) ObClient *c = client_fake_manage(e->xclient.window); gulong vals[4]; - /* adjust the decorations so we know the sizes */ - frame_adjust_area(c->frame, FALSE, TRUE, TRUE); - /* set the frame extents on the window */ vals[0] = c->frame->size.left; vals[1] = c->frame->size.right; @@ -593,7 +590,7 @@ static void event_process(const XEvent *ec, gpointer data) } } else if (e->type == ConfigureRequest) { - /* unhandled config5Aure requests must be used to configure the + /* unhandled configure requests must be used to configure the window directly */ XWindowChanges xwc; @@ -663,7 +660,7 @@ static void event_handle_root(XEvent *e) if (d > 0) screen_set_num_desktops(d); } else if (msgtype == prop_atoms.net_showing_desktop) { - screen_show_desktop(e->xclient.data.l[0] != 0, TRUE); + screen_show_desktop(e->xclient.data.l[0] != 0, NULL); } else if (msgtype == prop_atoms.openbox_control) { if (e->xclient.data.l[0] == 1) ob_reconfigure();