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

Remove VIRTUAL_DESKTOP code

Even the option to enable "virtual desktop" in configure.ac was
commented out...and I would never intend to use it anyway.

So let's just remove the ~800 lines of #ifdef'ed code to have a
cleaner code base to read when bored.
This commit is contained in:
Carlos R. Mafra
2010-01-09 13:12:20 +01:00
parent 4e90a87b14
commit 72dfe4aa89
16 changed files with 17 additions and 845 deletions

View File

@@ -137,11 +137,6 @@ typedef struct {
unsigned int dont_save_session:1; /* do not save app's state in session */
unsigned int full_maximize:1;
#ifdef VIRTUAL_DESKTOP
unsigned int virtual_stick:1;
#endif
/*
* emulate_app_icon must be automatically disabled for apps that can
* generate their own appicons and for apps that have no_appicon=1
@@ -322,10 +317,6 @@ typedef struct WWindow {
#define IS_MOVABLE(w) (!(WFLAGP((w), no_movable) || (w)->flags.fullscreen))
#define IS_RESIZABLE(w) (!(WFLAGP((w), no_resizable) || (w)->flags.fullscreen))
#ifdef VIRTUAL_DESKTOP
# define IS_VSTUCK(w) (WFLAGP((w), virtual_stick) || (w)->flags.fullscreen)
#endif
/* XXX: CHECK THIS,.. IT SEEMED WEIRD TO ME!!! */
#define IS_OMNIPRESENT(w) ((w)->flags.omnipresent | WFLAGP(w, omnipresent))