EWMH raise support
commit05ba7f4bb66ccc4f63b723f8e0223c4ba0fe3f39
authorBert Wesarg <bert.wesarg@googlemail.com>
Mon, 5 Jul 2010 06:23:59 +0000 (5 06:23 +0000)
committerBert Wesarg <bert.wesarg@googlemail.com>
Mon, 5 Jul 2010 06:23:59 +0000 (5 06:23 +0000)
tree3e83053a7535f3501153c6f575f36eb8424de0d1
parent58cda000f33b708946c58da3cd0fee267bd31937
EWMH raise support

From: Markus Schwarzenberg <schwarzb@ipms.fraunhofer.de>

This patch sets an EWMH hint before XMapRaised is called to raise a window
from within nedit (or nedit-server).

This is usefull for nedit in non-tabbed mode or nc when trying to
access/raise an already opened, but (partially) hidden nedit window,
especially when the "focus stealing prevention" of the window manager
cannot be configured to allow nedit to raise it's windows.
(Or more drastically: it makes nc usable again for those window managers)

The code for this patch is borrowed from wmctrl (1.0.7).

The patch is tested successfully with Fedora 9 / Metacity (Gnome).

SourceForge-patch-Id: 2337783
ReleaseNotes
source/server.c
util/misc.c
util/misc.h