Emmanuel Lepage Vallée
39aace50e9
Merge pull request #1084 from Elv13/use_screen_props
...
Use screen props
2016-09-11 04:40:35 -04:00
Emmanuel Lepage Vallée
67e82047b0
Merge pull request #1081 from Elv13/fix_screen_memory_leak
...
screen: Fix a memory leak.
2016-09-11 04:39:26 -04:00
Emmanuel Lepage Vallée
cf1556bfdd
Merge pull request #1082 from Elv13/fix_1018
...
resize: Use the right mouse cursor
2016-09-11 04:38:09 -04:00
Emmanuel Lepage Vallee
0394b768a0
wallpaper: Do not use the deprecated geometry access
2016-09-11 02:10:02 -04:00
Emmanuel Lepage Vallee
50da373903
tile: Do not use the deprecated geometry access
2016-09-11 02:10:02 -04:00
Emmanuel Lepage Vallee
ecdcd01dba
magnifier: Do not use the deprecated geometry access
2016-09-11 02:10:02 -04:00
Emmanuel Lepage Vallee
1ede1acc9d
hotkey_popup: Do not use the deprecated geometry access
2016-09-11 02:10:02 -04:00
Emmanuel Lepage Vallee
98b561e806
mouse/drag_to_tag: Do not use the deprecated geometry access
2016-09-11 02:09:56 -04:00
Emmanuel Lepage Vallee
e89a72acd5
mouse/snap: Do not use the deprecated geometry access
2016-09-11 02:09:49 -04:00
Emmanuel Lepage Vallee
8c2d85523f
screen: Do not use the deprecated geometry access
2016-09-11 02:09:44 -04:00
Emmanuel Lepage Vallee
f1e61092cd
ewmh: Do not use the deprecated geometry access
2016-09-11 02:09:36 -04:00
Emmanuel Lepage Vallee
4d0c426040
menubar: Do not use the deprecated geometry access
2016-09-11 01:55:33 -04:00
modk
12ea5e2318
menubar: Refactoring and cleanup
2016-09-11 00:32:57 -04:00
modk
1a40333b9e
menubar: Fix entry use count for categories
...
Fix #999
2016-09-11 00:32:47 -04:00
Emmanuel Lepage Vallee
9b96b4b448
resize: Use the right mouse cursor
...
Fix #1018
2016-09-10 23:56:10 -04:00
Emmanuel Lepage Vallee
e66120913f
screen: Fix a memory leak.
...
Found while investigating #1079
2016-09-10 23:54:45 -04:00
Emmanuel Lepage Vallee
12b72d6164
drawable: Prevent collected drawables from being redrawn.
2016-09-07 00:41:10 -04:00
Emmanuel Lepage Vallee
21787444e4
client: Simplify screen selection decision tree.
...
This commit remove the `awful.tag` "manage" hook. The relevant
code has been moved to ewmh.lua request::tag handler. The handler
is called either by a volontary screen change or by a forced one.
It also require the awful.rules to be executed. This is done by
default and the user would have to explicitly disable that
behavior. From now on, disabling the rules require the user to
handle tag selection.
Fixes #1028 #1052
2016-09-04 02:52:16 -04:00
Emmanuel Lepage Vallee
abb36c3697
tag: Restore the history on the right screen when deleting.
2016-09-04 02:52:16 -04:00
Emmanuel Lepage Vallee
180e70f6d6
tag: Fix off by one when deleting.
...
If a tag has been deleted, then the number of tags is decremented,
the code still used the old count.
2016-09-04 02:52:16 -04:00
Emmanuel Lepage Vallee
2af0553b67
tag: Fix :delete() when there is no clients
...
The logic was broken. It prevented tags from being deleted.
This also make sure the boolean return value is always set.
2016-09-04 02:52:16 -04:00
Emmanuel Lepage Vallee
d2988d1aab
tag: Fix index when screen count change.
...
There was still a problem that caused the "old" tags to be
inserted in the wrong position when "saved" from a screen being
removed.
Also, this use a :get_tags(true) to save an uneeded sorting pass.
2016-09-04 02:52:15 -04:00
Akulen
1be737be3a
awful.widget.tasklist: Add an align option ( #1065 )
2016-09-02 18:14:43 +02:00
Emmanuel Lepage Vallée
83e0423e89
tooltip: Stop using a fallback font ( #1061 )
...
Let the default font be used, just as everywhere else.
2016-08-30 12:57:40 +02:00
Emmanuel Lepage Vallee
01db39f5bb
screen: Use math.huge instead of 9999
2016-08-22 17:27:48 -04:00
Emmanuel Lepage Vallee
bbfa6006f3
tag: Fix index calculation.
...
The index was updated on an unordered table. As the elements
order did not match the relative indices once they have been
changed, further calls to set_index produced garbage.
The default taglist didn't notice because it use screen.tags
table index instead of the tag index. A debug using
echo 'for _,t in ipairs(mouse.screen.tags) do
print("INDEX:", _, t.index, t.name) end' | awesome-client
Would have shown two or more elements with the same index. To
debug issues related to tag indices, this bash script can be
enabled:
while true; do
echo 'for _,t in ipairs(mouse.screen.tags) do
assert( _==t.index) end' | awesome-client
sleep 0.5
done
2016-08-22 17:27:48 -04:00
Emmanuel Lepage Vallée
ba2750cf91
Merge pull request #929 from Elv13/geometry_overhaul_p3.03
...
Geometry overhaul part 3.03 (final part for 3.6)
2016-08-20 16:40:36 -04:00
Emmanuel Lepage Vallee
2088ca26e8
tooltip: Support generic properties in constructor
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
bc3cbc44c9
tooltip: Add position mode
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
141b191921
tooltip: Add shape support
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
8468d06350
placement: Port next_to_mouse to the new API
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
ea52b199c6
tooltip: Add align support
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
ade3fabaa9
tooltip: Make the 'visible' property dynamic
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
2910a007df
tooltip: Turn into a class
...
As done with everything else
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
211907def2
placement: Add `next_to`
...
This commit add the last placement function imported from the
Radical module.
It allows to place a wibox/client next to another object. It tries
to find the best fit. It also support wibox widgets.
This is intended for tooltips and menus, but can also be used in
`awful.rules` to place the new client as close as possible to the
focused one without overlap.
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
ce5cdb49ed
mouse: Add the current_widget_geometry property
...
Apparently, __index cannot return multiple values, so the previous
code wasn't working.
2016-08-20 16:21:48 -04:00
Emmanuel Lepage Vallee
732b170cb0
doc: Fix the awful.widget.button documentation
...
It was missing the macros.
2016-08-20 15:41:12 -04:00
Emmanuel Lepage Vallee
370d333590
widget: Add recursive signals.
...
This allows to ignore containers and layouts when a signal is sent.
2016-08-20 15:41:12 -04:00
Emmanuel Lepage Vallee
ec923e96fc
layout: Add more signals.
2016-08-17 02:31:16 -04:00
Emmanuel Lepage Vallee
19d4a3f602
placement.under_mouse: Fix a rounding error.
...
When object size contains odd numbers, the result was +1px off.
2016-08-12 17:02:33 -04:00
Emmanuel Lepage Vallée
e3c24c8e09
Revert "screen: Fix potential nil index" ( #1037 )
...
This reverts commit facf676b13
.
Using capi.client.focus.screen to decide which screen is focused breaks
a multiscreen setup. At least makes it extremely annoying to use.
In particular, if you have a focused client on screen 1, move the mouse
to screen 2 and launch a new client, the new client appears in screen 1,
since screen.focused reports that current focused screen is 1, not 2
because of the focused client.
Close #1035
Fix #1029
2016-08-11 19:03:17 +02:00
cmertz
f5f8998d0c
use c:jump_to instead of client.jumpto
2016-08-10 13:02:02 +02:00
Emmanuel Lepage Vallee
220dc4c5e5
doc: Document titlebar arguments.
...
It was reported as incomplete on IRC.
2016-08-01 15:35:00 -04:00
Emmanuel Lepage Vallee
facf676b13
screen: Fix potential nil index
...
This looks like a copy-paste error.
2016-08-01 15:29:02 -04:00
Emmanuel Lepage Vallee
41feec02a5
widget.base: Fix the root get_children_by_id() widget.
...
If the wibox root widget had an id, it was added to the properties,
but not the get_children_by_id() table
2016-08-01 15:26:29 -04:00
Emmanuel Lepage Vallee
f20053bb33
awful.mouse: Fix 4 invalid function names
2016-07-30 15:49:46 -04:00
Emmanuel Lepage Vallée
e472339011
Merge pull request #1013 from psychon/screen_area_signals
...
Screen area signals
2016-07-27 21:34:53 -04:00
Emmanuel Lepage Vallée
739ab8adc2
Merge pull request #1017 from juw/master
...
Change move and resize cursors
2016-07-27 21:33:35 -04:00
cmertz
4389297b58
restore client.border_width after fullscreen
2016-07-27 09:54:42 +02:00
Julian Wollrath
ed34df119a
Change move and resize cursors
2016-07-26 15:13:42 +02:00