summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Gurgel Pinho <eduardo@mad4.(none)>2008-11-24 18:00:07 -0300
committerEduardo Gurgel Pinho <eduardo@mad4.(none)>2008-11-24 18:00:07 -0300
commit74a98a4cbeb787227cba11a5f698f368c2f29a01 (patch)
tree1b427d0b7230cbf87887b1164ef4142b9ae7d026
parent696c9bef0a3351b0e2aa72cc4341d4169dfbe529 (diff)
downloadsmartput-74a98a4cbeb787227cba11a5f698f368c2f29a01.tar.gz
smartput-74a98a4cbeb787227cba11a5f698f368c2f29a01.tar.bz2
Coding style
-rw-r--r--smartput.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/smartput.c b/smartput.c
index 40d0e84..6ffb75d 100644
--- a/smartput.c
+++ b/smartput.c
@@ -604,9 +604,9 @@ smartputSameViewport(CompWindow* w1,
*/
static void
smartputUpdateUndoInfo (CompScreen *s,
- CompWindow *w,
- XWindowChanges *xwc,
- Bool reset)
+ CompWindow *w,
+ XWindowChanges *xwc,
+ Bool reset)
{
SMARTPUT_SCREEN (s);
if(reset)
@@ -614,7 +614,7 @@ smartputUpdateUndoInfo (CompScreen *s,
sps->undoInfo.window = None;
sps->undoInfo.savedX = 0;
sps->undoInfo.savedY = 0;
- sps->undoInfo.savedHeight = 0;
+ sps->undoInfo.savedHeight = 0;
sps->undoInfo.savedWidth = 0;
sps->undoInfo.newX = 0;
sps->undoInfo.newY = 0;
@@ -698,15 +698,15 @@ smartputInitiate(CompWindow *w,
if(!(w->id == sps->undoInfo.window) || sps->undoInfo.window == None) return FALSE;
mask = smartputUndoResize (s,xwc);
}
- else if(w->id == sps->undoInfo.window && !(sps->undoInfo.window == None) &&
- sps->undoInfo.newX == w->serverX &&
- sps->undoInfo.newY == w->serverY &&
- sps->undoInfo.newWidth == w->serverWidth &&
- sps->undoInfo.newHeight == w->serverHeight &&
- smartputGetUseTriggerkeyForundo(d))
- {
- mask = smartputUndoResize (s,xwc);
- }
+ else if(w->id == sps->undoInfo.window && !(sps->undoInfo.window == None) &&
+ sps->undoInfo.newX == w->serverX &&
+ sps->undoInfo.newY == w->serverY &&
+ sps->undoInfo.newWidth == w->serverWidth &&
+ sps->undoInfo.newHeight == w->serverHeight &&
+ smartputGetUseTriggerkeyForundo(d))
+ {
+ mask = smartputUndoResize (s,xwc);
+ }
else
{
mask = smartputComputeResize (w, xwc);