1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +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

@@ -300,24 +300,19 @@ typedef struct WWindow {
unsigned int user_changed_width:1;
unsigned int user_changed_height:1;
unsigned int wm_name_changed:1;
#ifdef NETWM_HINTS
unsigned int net_state_from_client:1; /* state hint was set by client */
unsigned int net_skip_pager:1;
unsigned int net_handle_icon:1;
unsigned int net_show_desktop:1;
unsigned int net_has_title:1; /* use netwm version of WM_NAME */
unsigned int net_has_icon_title:1;
#endif
} flags; /* state of the window */
struct WIcon *icon; /* icon info for the window */
int icon_x, icon_y; /* position of the icon */
#ifdef NETWM_HINTS
int icon_w, icon_h;
RImage *net_icon_image;
Atom type;
#endif
} WWindow;