1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

window.h: Remove unused variables from WWindow struct

The variables waiting_save_ack, dragged_while_fmaximized,
buttons_dont_fit, rebuild_texture and needs_full_repaint are not used,
so they can be removed.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-06-25 23:06:31 +02:00
committed by Carlos R. Mafra
parent c978b3fc2b
commit 46183e8215

View File

@@ -264,11 +264,6 @@ typedef struct WWindow {
app */ app */
unsigned int is_dockapp:1; /* 1 if the window belongs to a DockApp */ unsigned int is_dockapp:1; /* 1 if the window belongs to a DockApp */
unsigned int buttons_dont_fit:1;
unsigned int rebuild_texture:1; /* the window was resized and
* gradients should be re-rendered */
unsigned int needs_full_repaint:1;/* does a full repaint of the
* window next time it's painted */
unsigned int icon_moved:1; /* icon for this window was moved unsigned int icon_moved:1; /* icon for this window was moved
* by the user */ * by the user */
unsigned int selected:1; /* multiple window selection */ unsigned int selected:1; /* multiple window selection */
@@ -279,15 +274,9 @@ typedef struct WWindow {
unsigned int inspector_open:1; /* attrib inspector is already open */ unsigned int inspector_open:1; /* attrib inspector is already open */
unsigned int destroyed:1; /* window was already destroyed */ unsigned int destroyed:1; /* window was already destroyed */
unsigned int menu_open_for_me:1; /* window commands menu */ unsigned int menu_open_for_me:1; /* window commands menu */
unsigned int waiting_save_ack:1; /* waiting for SAVE_YOURSELF ack */
unsigned int obscured:1; /* window is obscured */ unsigned int obscured:1; /* window is obscured */
unsigned int dragged_while_fmaximized;
unsigned int net_skip_pager:1; unsigned int net_skip_pager:1;
unsigned int net_handle_icon:1; unsigned int net_handle_icon:1;
unsigned int net_show_desktop:1; unsigned int net_show_desktop:1;
@@ -337,7 +326,6 @@ typedef struct WSavedState {
unsigned window_shortcuts; /* mask like 1<<shortcut_number */ unsigned window_shortcuts; /* mask like 1<<shortcut_number */
} WSavedState; } WSavedState;
typedef struct WWindowState { typedef struct WWindowState {
char *instance; char *instance;
char *class; char *class;
@@ -347,11 +335,8 @@ typedef struct WWindowState {
struct WWindowState *next; struct WWindowState *next;
} WWindowState; } WWindowState;
typedef void* WMagicNumber; typedef void* WMagicNumber;
void wWindowDestroy(WWindow *wwin); void wWindowDestroy(WWindow *wwin);
WWindow *wWindowCreate(void); WWindow *wWindowCreate(void);
@@ -417,5 +402,4 @@ void wWindowDeleteSavedState(WMagicNumber id);
Bool wWindowObscuresWindow(WWindow *wwin, WWindow *obscured); Bool wWindowObscuresWindow(WWindow *wwin, WWindow *obscured);
void wWindowSetOmnipresent(WWindow *wwin, Bool flag); void wWindowSetOmnipresent(WWindow *wwin, Bool flag);
#endif #endif