summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <[email protected]>2014-06-25 19:06:17 -0300
committerJoaquín Ignacio Aramendía <[email protected]>2014-06-26 20:03:32 -0300
commita65a66d49bd0d6ec6c94b8e3ecd551cb570cec95 (patch)
treeb451afa6025e587f0ee287601427e572712e3428 /src/core/window-private.h
parent32050fd47713d9254e05344a6afd87202fa45d11 (diff)
downloadmarco-a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.tar.bz2
marco-a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.tar.xz
Remove all trailing whitespaces in the code tree
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index f88f8a4d..dcb19d7f 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -9,12 +9,12 @@
* which the rest of the world is allowed to use.)
*/
-/*
+/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2002 Red Hat, Inc.
* Copyright (C) 2003, 2004 Rob Adams
* Copyright (C) 2004-2006 Elijah Newren
- *
+ *
* 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
@@ -24,7 +24,7 @@
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
- *
+ *
* 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., 51 Franklin St, Fifth Floor, Boston, MA
@@ -110,10 +110,10 @@ struct _MetaWindow
MetaIconCache icon_cache;
Pixmap wm_hints_pixmap;
Pixmap wm_hints_mask;
-
+
MetaWindowType type;
Atom type_atom;
-
+
/* NOTE these five are not in UTF-8, we just treat them as random
* binary data
*/
@@ -125,17 +125,17 @@ struct _MetaWindow
char *startup_id;
int net_wm_pid;
-
+
Window xtransient_for;
Window xgroup_leader;
Window xclient_leader;
/* Initial workspace property */
- int initial_workspace;
-
+ int initial_workspace;
+
/* Initial timestamp property */
- guint32 initial_timestamp;
-
+ guint32 initial_timestamp;
+
/* Whether we're maximized */
guint maximized_horizontally : 1;
guint maximized_vertically : 1;
@@ -164,7 +164,7 @@ struct _MetaWindow
* these monitors. If not, this is the single monitor which the window's
* origin is on. */
long fullscreen_monitors[4];
-
+
/* Whether we're trying to constrain the window to be fully onscreen */
guint require_fully_onscreen : 1;
@@ -189,7 +189,7 @@ struct _MetaWindow
* see also unmaps_pending
*/
guint mapped : 1;
-
+
/* Iconic is the state in WM_STATE; happens for workspaces/shading
* in addition to minimize
*/
@@ -201,20 +201,20 @@ struct _MetaWindow
/* whether an initial workspace was explicitly set */
guint initial_workspace_set : 1;
-
+
/* whether an initial timestamp was explicitly set */
guint initial_timestamp_set : 1;
-
+
/* whether net_wm_user_time has been set yet */
guint net_wm_user_time_set : 1;
-
+
/* These are the flags from WM_PROTOCOLS */
guint take_focus : 1;
guint delete_window : 1;
guint net_wm_ping : 1;
/* Globally active / No input */
guint input : 1;
-
+
/* MWM hints about features of window */
guint mwm_decorated : 1;
guint mwm_border_only : 1;
@@ -223,7 +223,7 @@ struct _MetaWindow
guint mwm_has_maximize_func : 1;
guint mwm_has_move_func : 1;
guint mwm_has_resize_func : 1;
-
+
/* Computed features of window */
guint decorated : 1;
guint border_only : 1;
@@ -235,7 +235,7 @@ struct _MetaWindow
guint has_move_func : 1;
guint has_resize_func : 1;
guint has_fullscreen_func : 1;
-
+
/* Weird "_NET_WM_STATE_MODAL" flag */
guint wm_state_modal : 1;
@@ -253,12 +253,12 @@ struct _MetaWindow
/* EWHH demands attention flag */
guint wm_state_demands_attention : 1;
-
+
/* this flag tracks receipt of focus_in focus_out and
* determines whether we draw the focus
*/
guint has_focus : 1;
-
+
/* Have we placed this window? */
guint placed : 1;
@@ -276,15 +276,15 @@ struct _MetaWindow
/* Are we in meta_window_new()? */
guint constructing : 1;
-
+
/* Are we in the various queues? (Bitfield: see META_WINDOW_IS_IN_QUEUE) */
guint is_in_queues : NUMBER_OF_QUEUES;
-
+
/* Used by keybindings.c */
guint keys_grabbed : 1; /* normal keybindings grabbed */
guint grab_on_frame : 1; /* grabs are on the frame */
guint all_keys_grabbed : 1; /* AnyKey grabbed */
-
+
/* Set if the reason for unmanaging the window is that
* it was withdrawn
*/
@@ -309,7 +309,7 @@ struct _MetaWindow
/* icon props have changed */
guint need_reread_icon : 1;
-
+
/* if TRUE, window was maximized at start of current grab op */
guint shaken_loose : 1;
@@ -328,7 +328,7 @@ struct _MetaWindow
guint sync_request_serial;
GTimeVal sync_request_time;
#endif
-
+
/* Number of UnmapNotify that are caused by us, if
* we get UnmapNotify with none pending then the client
* is withdrawing the window.
@@ -341,11 +341,11 @@ struct _MetaWindow
/* window that gets updated net_wm_user_time values */
Window user_time_window;
-
+
/* The size we set the window to last (i.e. what we believe
* to be its actual size on the server). The x, y are
* the actual server-side x,y so are relative to the frame
- * (meaning that they just hold the frame width and height)
+ * (meaning that they just hold the frame width and height)
* or the root window (meaning they specify the location
* of the top left of the inner window) as appropriate.
*/
@@ -370,7 +370,7 @@ struct _MetaWindow
* Position always in root coords, unlike window->rect.
*/
MetaRectangle user_rect;
-
+
/* Requested geometry */
int border_width;
/* x/y/w/h here get filled with ConfigureRequest values */
@@ -379,7 +379,7 @@ struct _MetaWindow
/* Managed by stack.c */
MetaStackLayer layer;
int stack_position; /* see comment in stack.h */
-
+
/* Current dialog open for this window */
int dialog_pid;
@@ -442,7 +442,7 @@ void meta_window_activate (MetaWindow *window,
guint32 current_time);
void meta_window_activate_with_workspace (MetaWindow *window,
guint32 current_time,
- MetaWorkspace *workspace);
+ MetaWorkspace *workspace);
void meta_window_make_fullscreen_internal (MetaWindow *window);
void meta_window_make_fullscreen (MetaWindow *window);
void meta_window_unmake_fullscreen (MetaWindow *window);