Daniel Hahler
473df11e1f
Streamline/cleanup util.deprecate calls
2016-04-18 23:20:16 +02:00
Emmanuel Lepage Vallee
dd52f1ce86
awful.tag: Move functions to awful.client and screen
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
493684a5c0
awful.tag: Merge API documentation with tag
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
eb133175ba
awful.screen: Add some client getter properties
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
00d782f3d3
awful.screen: Deprecate functions, add methods
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
a4bc49b540
awful.screen: Merge screen and awful.screen API doc
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
8a0738a4bc
gears.screen: Merge into awful.screen
...
gears modules usually don't depend on Awesome C-API. This code has
been placed there for unclear reasons.
Also, there is ongoing work to unify each "concepts" API into one
single page. Having `gears.screen` go against this effort.
2016-04-06 23:32:44 -04:00
Daniel Hahler
742717ec22
doc: improve doc for awful.screen.focused
2016-04-04 23:49:43 +02:00
Emmanuel Lepage Vallée
0953db56d8
Merge pull request #757 from Elv13/properties
...
C-API objects properties
2016-03-30 23:32:12 -04:00
Emmanuel Lepage Vallee
3322a17182
screen: Support property fallback
2016-03-30 23:25:44 -04:00
Emmanuel Lepage Vallee
995361449a
awful.screen: Fix addition between object and number
...
Fix #784
2016-03-28 04:39:19 -04:00
Emmanuel Lepage Vallee
83df30d3a4
awful.screen.focused: Fix documentation and make more flexible.
...
Telling the user a method can be monkeypatched is **not** a good
idea.
2016-03-26 03:37:04 -04:00
Emmanuel Lepage Vallee
e66166ccee
awful.screen: Add a method to apply various paddings.
...
This avoid code duplications.
2016-03-26 03:37:04 -04:00
Emmanuel Lepage Vallee
9fd329c449
awful.screen.padding: Always return a valid table.
...
This also fix a bug when the user edit the table. In that case,
the padding was (accidentally) changed without the correct
signals.
2016-03-26 03:15:00 -04:00
Emmanuel Lepage Vallee
242652be94
awful.screen.padding: Support padding number value
2016-03-26 03:14:42 -04:00
Emmanuel Lepage Vallee
d2c5e36294
Fix a documentation typo
2016-03-23 18:12:04 -04:00
Uli Schlachter
95e5bdf5d2
Use the new way to iterate over screens in Lua
...
This gets us one step closer to removing screen indices.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-03-06 14:05:28 +01:00
Emmanuel Lepage Vallee
924e889271
awful.screen: Fix regression
2016-02-29 04:21:10 -05:00
Uli Schlachter
d56b5c031b
Remove some now unnecessary uses of s.index
...
Because all our Lua code can now work with screen objects, most of the uses of
s.index that the previous patches added for reaching this goal can be removed
again.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-27 09:24:19 +01:00
Uli Schlachter
c17e331b92
Support screen objects in awful.screen
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-26 19:56:07 +01:00
Daniel Hahler
872c321e81
Merge pull request #507 from psychon/closest_screen
...
Update the definition of "closest screen" to take into account that a
screen is a rectangle and not just the top-left corner.
Closes https://github.com/awesomeWM/awesome/pull/507 .
2015-10-26 23:07:43 +01:00
Uli Schlachter
0060ea9d63
Fix awful.screen.focus
...
This is broken since 23b2fae6a9
.
Closes https://github.com/awesomeWM/awesome/pull/516 .
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-11 17:10:16 +02:00
Uli Schlachter
b1b2852887
awful.screen.getbycoord: Use the same algorithm as in C
...
We recently changed the C function screen_getbycoord() and this commit makes
awful.screen.getbycoord() use the same algorithm.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 20:25:26 +02:00
lesell_b
4003331b41
fix missing scope on the mouse position table
2015-10-09 21:27:17 +02:00
lesell_b
f2b6aa105c
Update saved mouse position on screen focus change
...
Signed-off-by: lesell_b <lesell_b@epitech.eu>
2015-10-08 04:40:59 +02:00
lesell_b
23b2fae6a9
Remember mouse position per screen
...
The mouse position is saved and restored when focusing another screen
If the target screen has no saved mouse position, the relative position
of the current screen is used
Signed-off-by: lesell_b <lesell_b@epitech.eu>
2015-10-08 03:52:03 +02:00
Daniel Hahler
cbe684efd1
Add awful.screen.focused [FS#1029]
...
This allows to configure / override what gets considered to be the
"focused screen".
Ref: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1029
Closes https://github.com/awesomeWM/awesome/pull/94 .
2015-07-21 12:51:45 +02:00
Daniel Hahler
cb7f4b06eb
Use `hints` table argument with `request::activate` signal
2015-06-25 06:47:39 +02:00
Daniel Hahler
ed09d8ed4f
Use request::activate with raise=false instead
...
Ref: https://github.com/awesomeWM/awesome/pull/224#issuecomment-101790416
2015-06-25 06:47:39 +02:00
Daniel Hahler
401f21f8e2
Add request::focus signal, with ewmh.focus being the default handler
...
This still does `client.focus = c` by default, but allows to customize
it.
This was initially suggested in #194 , but by using `request::activate`
instead, which would not be the same. Therefore a new signal is being
used instead.
Helped-by: Samir Benmendil <samir.benmendil@gmail.com>
2015-06-25 06:47:39 +02:00
Julian Wollrath
6cc7be512c
Remove the *.in from all files.
...
Signed-off-b: Julian Wollrath <jwollrath@web.de>
2015-06-19 22:33:32 +02:00