mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
changed indentation to use spaces only
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
typedef struct WApplication {
|
||||
struct WApplication *next;
|
||||
struct WApplication *prev;
|
||||
|
||||
|
||||
Window main_window; /* ID of the group leader */
|
||||
|
||||
struct WWindow *main_window_desc; /* main (leader) window descriptor */
|
||||
@@ -40,12 +40,12 @@ typedef struct WApplication {
|
||||
|
||||
struct WWindow *last_focused; /* focused window before hide */
|
||||
|
||||
int last_workspace; /* last workspace used to work on the
|
||||
* app */
|
||||
int last_workspace; /* last workspace used to work on the
|
||||
* app */
|
||||
struct {
|
||||
unsigned int skip_next_animation:1;
|
||||
unsigned int hidden:1;
|
||||
unsigned int emulated:1;
|
||||
unsigned int skip_next_animation:1;
|
||||
unsigned int hidden:1;
|
||||
unsigned int emulated:1;
|
||||
} flags;
|
||||
} WApplication;
|
||||
|
||||
@@ -55,19 +55,20 @@ void wApplicationDestroy(WApplication *wapp);
|
||||
|
||||
WApplication *wApplicationOf(Window window);
|
||||
|
||||
void wApplicationExtractDirPackIcon(WScreen *scr,char *path, char *wm_instance,
|
||||
char *wm_class);
|
||||
void wApplicationExtractDirPackIcon(WScreen *scr,char *path, char *wm_instance,
|
||||
char *wm_class);
|
||||
|
||||
#ifdef NEWAPPICON
|
||||
|
||||
# define wApplicationActivate(wapp) {\
|
||||
wapp->main_window_desc->flags.focused=1; \
|
||||
wAppIconPaint(wapp->app_icon);\
|
||||
}
|
||||
wapp->main_window_desc->flags.focused=1; \
|
||||
wAppIconPaint(wapp->app_icon);\
|
||||
}
|
||||
#define wApplicationDeactivate(wapp) {\
|
||||
wapp->main_window_desc->flags.focused=0;\
|
||||
wAppIconPaint(wapp->app_icon);\
|
||||
}
|
||||
wapp->main_window_desc->flags.focused=0;\
|
||||
wAppIconPaint(wapp->app_icon);\
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user