package ion3-scripts
tags 342793 patch pending
thanks

Tue Dec 13 18:10:36 CET 2005  René van Bevern <[EMAIL PROTECTED]>
  * do not use screen 0 as fallback for placement functions
  because that fallback is *always* used, as the screen for to-be-placed windows
  is unknown, which leads to new windows always being opened at screen 0. See
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342793 for details.
  
  This patch needs ion3 >= 20051210

Wed Dec 14 20:40:37 CET 2005  René van Bevern <[EMAIL PROTECTED]>
  * If the current screen is unavailable, use screen 0

Tue Dec 13 18:04:42 CET 2005  René van Bevern <[EMAIL PROTECTED]>
  * detach.lua: avoid decimal fractions
  
  0.5 better written as 5/10, because lua parses decimal numbers according to
  locale: i.e. 0.5 is not a valid number in de_DE and fr_FR because they use
  commas instead of points as delimiter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


New patches:

[detach.lua: avoid decimal fractions
René van Bevern <[EMAIL PROTECTED]>**20051213170442
 
 0.5 better written as 5/10, because lua parses decimal numbers according to
 locale: i.e. 0.5 is not a valid number in de_DE and fr_FR because they use
 commas instead of points as delimiter
] {
hunk ./scripts/detach.lua 231
- -	 x = math.floor((geom_scr.w - oldgeom.w) / 2.0 + 0.5),
- -	 y = math.floor((geom_scr.h - oldgeom.h) / 2.0 + 0.5),
+	 x = math.floor((geom_scr.w - oldgeom.w) / 2 + 5/10),
+	 y = math.floor((geom_scr.h - oldgeom.h) / 2 + 5/10),
}

[do not use screen 0 as fallback for placement functions
René van Bevern <[EMAIL PROTECTED]>**20051213171036
 because that fallback is *always* used, as the screen for to-be-placed windows
 is unknown, which leads to new windows always being opened at screen 0. See
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342793 for details.
 
 This patch needs ion3 >= 20051210
] {
hunk ./scripts/detach.lua 358
- -      local screen = cwin:screen_of()
- -      if screen == nil then
- -         screen = ioncore.find_screen_id(0)
- -      end
+      local screen = ioncore.current():screen_of()
hunk ./scripts/detach.lua 417
- -      local screen = cwin:screen_of()
- -      if screen == nil then
- -	 screen = ioncore.find_screen_id(0)
- -      end
+      local screen = ioncore.current():screen_of()
}

[If the current screen is unavailable, use screen 0
René van Bevern <[EMAIL PROTECTED]>**20051214194037] {
hunk ./scripts/detach.lua 358
- -      local screen = ioncore.current():screen_of()
+      local screen = (ioncore.current() and ioncore.current():screen_of()) or
+                     (ioncore.find_screen_id(0))
hunk ./scripts/detach.lua 418
- -      local screen = ioncore.current():screen_of()
+      local screen = (ioncore.current() and ioncore.current():screen_of()) or
+                     (ioncore.find_screen_id(0))
}

Context:

[switch_bindings.lua: kpress_wait and [EMAIL PROTECTED] handled
Canaan Hadley-Voth <[EMAIL PROTECTED]>**20051115175745] 
[Fixes to wcirculate.
Tuomo Valkonen <[EMAIL PROTECTED]>**20051115154240] 
[new script switch_bindings.lua
Sadrul Habib Chowdhury <[EMAIL PROTECTED]>**20051115054315] 
[cfg_dock overhaul
Canaan Hadley-Voth <[EMAIL PROTECTED]>**20051110202520] 
[detach.lua bugfix
Avi Rozen <[EMAIL PROTECTED]>**20051103141246
 was indexing a nil value upon x init
] 
[detach.lua bug fixes
Avi Rozen <[EMAIL PROTECTED]>**20051102094829
 - fixed positioning of floats (was always top-left corner)
 - prevent non-float windows to open on 2nd layer when it's in focus
] 
[look-ootput.lua modification
Landon Walsh <[EMAIL PROTECTED]>**20051102083557] 
[Clarified alphabetical ordering comment and fixed ordering of some scripts.
Tuomo Valkonen <[EMAIL PROTECTED]>**20051102082225] 
[new style submission
Landon Walsh <[EMAIL PROTECTED]>**20051102050816] 
[Update to Dan's Bindings: moving clients
Dan Weiner <[EMAIL PROTECTED]>**20051029185215] 
[TAG ion-scripts-3ds-20051029
Tuomo Valkonen <[EMAIL PROTECTED]>**20051029151541] 
Patch bundle hash:
e467a53dc7d4038ca64938e16d49012d2895e333
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQCVAwUBQ6MP5mXAXAFwWYizAQKvOAP+OckuPeaCji79BH91sZBD4R5vDmZszk9I
58Rz+c1jkMGlm+YxqNhzF4a6Y2qLK+BHj1YSCPM2wOdjE3jMiI6Wne7en1PPZUsb
epl4pUKKaifThFd2uRIsZ762/2LUgXDZ+EUOJTPYdEMM25XgGkyVloXS1UhSEHh7
t6owBcte5kY=
=9ApH
-----END PGP SIGNATURE-----

Reply via email to