[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] undecorate function in 0.14
From: pustjens () dds ! nl (Mark Pustjens)
Date: 2005-11-05 23:54:57
Message-ID: Pine.LNX.4.63.0511060051290.25601 () thuis ! unkie ! org
[Download RAW message or body]
--
"Why bother with such a big stone arch?"
"It's just showing off. There's probably a sticker on the back saying 'My
Other Grave Is A Porch'".
(Johnny and the Dead)
On Sun, 6 Nov 2005, Mikael Magnusson wrote:
...snip...
>
> Ah, i didn't then. This patch should work i think, you only need the first
> part obviously but i'm too lazy to edit the patch right now.
>
> Index: openbox/event.c
> ===================================================================
> RCS file: /cvs/cvsroot/openbox/openbox/event.c,v
> retrieving revision 1.233
> diff -p -u -d -r1.233 event.c
> --- openbox/event.c 8 Feb 2005 04:33:54 -0000 1.233
> +++ openbox/event.c 5 Nov 2005 23:37:10 -0000
> @@ -1131,8 +1155,20 @@ static void event_handle_client(ObClient
> else if (msgtype == prop_atoms.sm_client_id) {
> client_update_sm_client_id(client);
> }
> + else if (msgtype == prop_atoms.motif_wm_hints) {
> + ob_debug("getting mwm hints!!!\n");
> + client_get_mwm_hints(client);
> + client_get_type(client);
> + client_calc_layer(client);
> + client_setup_decor_and_functions(client);
> + }
> default:
> - ;
> + {
> + char *msgname = XGetAtomName(ob_display, msgtype);
> + ob_debug("got a property notify \"%s\" from client \"%s\" with title
> \"%s\"\n", msgname, client->name, client->title);
> + fflush(stdout);
> + XFree(msgname);
> + }
> #ifdef SHAPE
> if (extensions_shape && e->type == extensions_shape_event_basep) {
> client->shaped = ((XShapeEvent*)e)->shaped;
>
>
> --
> Mikael Magnusson
>
client_get_mwm_hints is static in client.c
i fixed it here, and devilspie now works as expected.
Thanks again for a quick reply
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic