totalspaces 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,8 +20,11 @@
20
20
  * return an empty string, zero, false or a pointer to a struct containing zero spaces (in
21
21
  * the case of tsapi_windowList).
22
22
  * It is recommended to check that comms to TotalSpaces are working by, for instance,
23
- * checking that tsapi_numberOfSpaces() returns a number greater than zero when you initialize
23
+ * checking that tsapi_apiVersion() matches tsapi_libTotalSpacesVersion() when you initialize
24
24
  * your app.
25
+ *
26
+ * Some actions such as renaming a space will cause the overview grid to be exited if it
27
+ * is showing at the time.
25
28
  */
26
29
 
27
30
  /*
Binary file
@@ -274,9 +274,11 @@ module TotalSpaces
274
274
  #
275
275
  # There can only be one block registered at any time, the most recently registered one will
276
276
  # be called.
277
+ # This callback is called just before the space actually changes - current_space will still
278
+ # report the from space.
277
279
  #
278
280
  def on_space_change(&block)
279
- $tsapi_on_space_change_block = block # prevent CG
281
+ $tsapi_on_space_change_block = block # prevent GC
280
282
  TSApi.tsapi_setSpaceWillChangeCallback(block)
281
283
  end
282
284
 
@@ -301,7 +303,7 @@ module TotalSpaces
301
303
  # be called.
302
304
  #
303
305
  def on_layout_change(&block)
304
- $tsapi_on_layout_change_block = block # prevent CG
306
+ $tsapi_on_layout_change_block = block # prevent GC
305
307
  TSApi.tsapi_setLayoutChangedCallback(block)
306
308
  end
307
309
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: totalspaces
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -39,7 +39,7 @@ files:
39
39
  - lib/totalspaces.rb
40
40
  - lib/libtotalspacesapi.dylib
41
41
  - lib/TSLib.h
42
- homepage: http://github.com/binaryage/totalspaces-api
42
+ homepage: https://github.com/binaryage/totalspaces-api/tree/master/ruby
43
43
  licenses: []
44
44
  post_install_message:
45
45
  rdoc_options: