kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=02e023bb331ca6a43350e2a2e1f2274fecb296f9

commit 02e023bb331ca6a43350e2a2e1f2274fecb296f9
Author: Kim Woelders <k...@woelders.dk>
Date:   Mon Jun 22 16:58:11 2015 +0200

    Set NorthWestGravity when applying snapshot location.
    
    Otherwise clients with other than NorthWestGravity will not be placed
    correctly.
---
 src/snaps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/snaps.c b/src/snaps.c
index 002761b..48fe9e8 100644
--- a/src/snaps.c
+++ b/src/snaps.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
- * Copyright (C) 2004-2014 Kim Woelders
+ * Copyright (C) 2004-2015 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -1444,6 +1444,7 @@ SnapshotEwinApply(EWin * ewin)
        ewin->state.placed = 1;
        ewin->client.x = sn->x;
        ewin->client.y = sn->y;
+       ewin->icccm.grav = NorthWestGravity;
 #if 0                          /* No, do later in EwinDetermineArea() */
        ewin->area_x = sn->area_x;
        ewin->area_y = sn->area_y;

-- 


Reply via email to