1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

Remove #ifdef NETWM_HINTS constructs

NETWM_HINT is always defined in src/wconfig.h.in, so
let's remove it from there too.
This commit is contained in:
Carlos R. Mafra
2009-10-12 00:08:21 +02:00
parent 347e804bb6
commit 15e37ff942
15 changed files with 21 additions and 131 deletions

View File

@@ -56,10 +56,7 @@
#include "properties.h"
#include "balloon.h"
#include "xinerama.h"
#ifdef NETWM_HINTS
# include "wmspec.h"
#endif
#include "wmspec.h"
/******** Global Variables **********/
extern XContext wWinContext;
@@ -1012,10 +1009,8 @@ static void handleClientMessage(XEvent * event)
if (!scr)
return;
scr->flags.ignore_focus_events = event->xclient.data.l[0] ? 1 : 0;
#ifdef NETWM_HINTS
} else if (wNETWMProcessClientMessage(&event->xclient)) {
/* do nothing */
#endif
#ifdef XDND
} else if (wXDNDProcessClientMessage(&event->xclient)) {
/* do nothing */