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:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user