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

changed indentation to use spaces only

This commit is contained in:
dan
2004-10-12 21:28:27 +00:00
parent 5912898b06
commit 6830b05716
240 changed files with 35951 additions and 35773 deletions

View File

@@ -1,8 +1,8 @@
/*
* Window Maker window manager
*
*
* Copyright (c) 1997-2003 Alfredo K. Kojima
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -86,12 +86,12 @@ typedef struct _WScreen {
Colormap colormap; /* root colormap */
int root_colormap_install_count;
struct WWindow *original_cmap_window; /* colormap before installing
* root colormap temporarily */
* root colormap temporarily */
struct WWindow *cmap_window;
Colormap current_colormap;
Window w_win; /* window to use as drawable
* for new GCs, pixmaps etc. */
* for new GCs, pixmaps etc. */
Visual *w_visual;
int w_depth;
Colormap w_colormap; /* our colormap */
@@ -99,12 +99,12 @@ typedef struct _WScreen {
WXineramaInfo xine_info;
Window no_focus_win; /* window to get focus when nobody
* else can do it */
* else can do it */
struct WWindow *focused_window; /* window that has the focus
* Use this list if you want to
* traverse the entire window list
*/
* Use this list if you want to
* traverse the entire window list
*/
WMArray *selected_windows;
@@ -115,12 +115,12 @@ typedef struct _WScreen {
struct WApplication *wapp_list; /* list of all aplications */
WMBag *stacking_list; /* bag of lists of windows
* in stacking order.
* Indexed by window level
* and each list on the array
* is ordered from the topmost to
* the lowest window
*/
* in stacking order.
* Indexed by window level
* and each list on the array
* is ordered from the topmost to
* the lowest window
*/
int window_count; /* number of windows in window_list */
@@ -134,10 +134,10 @@ typedef struct _WScreen {
WReservedArea *reservedAreas; /* used to build totalUsableArea */
WArea *usableArea; /* area of the workspace where
* we can put windows on, as defined
* by other clients (not us) */
* we can put windows on, as defined
* by other clients (not us) */
WArea *totalUsableArea; /* same as above, but including
* the dock and other stuff */
* the dock and other stuff */
WMColor *black;
WMColor *white;
@@ -152,15 +152,15 @@ typedef struct _WScreen {
Pixmap stipple_bitmap;
Pixmap transp_stipple; /* for making holes in icon masks for
* transparent icon simulation */
* transparent icon simulation */
WMFont *title_font; /* default font for the titlebars */
WMFont *menu_title_font; /* font for menu titlebars */
WMFont *menu_entry_font; /* font for menu items */
WMFont *icon_title_font; /* for icon titles */
WMFont *clip_title_font; /* for clip titles */
WMFont *info_text_font; /* text on things like geometry
* hint boxes */
* hint boxes */
XFontStruct *tech_draw_font; /* font for tech draw style geom view
needs to be a core font so we can
use it with a XORing GC */
@@ -187,7 +187,7 @@ typedef struct _WScreen {
union WTexture *menu_item_texture; /* menu item texture */
struct WTexSolid *menu_item_auxtexture; /* additional texture to draw menu
* cascade arrows */
* cascade arrows */
struct WTexSolid *icon_title_texture;/* icon titles */
struct WTexSolid *widget_texture;
@@ -236,9 +236,9 @@ typedef struct _WScreen {
struct WDock *last_dock;
WAppIconChain *global_icons; /* for omnipresent icons chain in clip */
int global_icon_count; /* How many global icons do we have */
Window clip_balloon; /* window for workspace name */
int keymove_tick;
#ifdef GRADIENT_CLIP_ARROW
@@ -246,9 +246,9 @@ typedef struct _WScreen {
#endif
struct RContext *rcontext; /* wrlib context */
WMScreen *wmscreen; /* for widget library */
struct RImage *icon_tile;
struct RImage *clip_tile;
Pixmap icon_tile_pixmap; /* for app supplied icons */
@@ -257,8 +257,8 @@ typedef struct _WScreen {
Pixmap def_ticon_pixmap;
struct WDialogData *dialog_data;
struct W_GeometryView *gview; /* size/position view */
#ifdef NEWSTUFF
@@ -274,7 +274,7 @@ typedef struct _WScreen {
Time last_click_time;
Window last_click_window;
int last_click_button;
/* balloon help data */
struct _WBalloon *balloon;
@@ -286,11 +286,11 @@ typedef struct _WScreen {
/* for raise-delay */
WMHandlerID *autoRaiseTimer;
Window autoRaiseWindow; /* window that is scheduled to be
* raised */
* raised */
Window scrolledFMaximize; /* full maximized window which was
scrolled down for titlebar access */
scrolled down for titlebar access */
/* for window shortcuts */
WMArray *shortcutWindows[MAX_WINDOW_SHORTCUTS];
@@ -302,7 +302,7 @@ typedef struct _WScreen {
#ifdef KWM_HINTS
Window kwm_dock;
#endif
#ifdef NETWM_HINTS
struct NetData *netdata;
#endif
@@ -311,25 +311,25 @@ typedef struct _WScreen {
pid_t helper_pid;
struct {
unsigned int startup:1; /* during window manager startup */
unsigned int regenerate_icon_textures:1;
unsigned int dnd_data_convertion_status:1;
unsigned int root_menu_changed_shortcuts:1;
unsigned int added_workspace_menu:1;
unsigned int added_windows_menu:1;
unsigned int startup2:1; /* startup phase 2 */
unsigned int supports_tiff:1;
unsigned int clip_balloon_mapped:1;
unsigned int next_click_is_not_double:1;
unsigned int backimage_helper_launched:1;
/* some client has issued a WM_COLORMAP_NOTIFY */
unsigned int colormap_stuff_blocked:1;
unsigned int doing_alt_tab:1;
unsigned int jump_back_pending:1;
unsigned int startup:1; /* during window manager startup */
unsigned int regenerate_icon_textures:1;
unsigned int dnd_data_convertion_status:1;
unsigned int root_menu_changed_shortcuts:1;
unsigned int added_workspace_menu:1;
unsigned int added_windows_menu:1;
unsigned int startup2:1; /* startup phase 2 */
unsigned int supports_tiff:1;
unsigned int clip_balloon_mapped:1;
unsigned int next_click_is_not_double:1;
unsigned int backimage_helper_launched:1;
/* some client has issued a WM_COLORMAP_NOTIFY */
unsigned int colormap_stuff_blocked:1;
unsigned int doing_alt_tab:1;
unsigned int jump_back_pending:1;
unsigned int ignore_focus_events:1;
#ifdef KWM_HINTS
unsigned int kwm_syncing_name:1;
unsigned int kwm_syncing_count:1;
unsigned int kwm_syncing_name:1;
unsigned int kwm_syncing_count:1;
#endif
} flags;
} WScreen;