Commit Graph

94 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallee f51bb54845 resize: Add an optional wibox to display the size.
Like kwin and fluxbox.
2021-12-08 16:30:05 -08:00
Emmanuel Lepage Vallee efdfc43d29 Restore the ability to resize tiled clients.
This backport previously deleted code. The upstreamed solution was
never merged, so better bring this back, even with the limitations.
2021-12-08 11:33:56 -08:00
Emmanuel Lepage Vallee bd4f3de7f1 Add 4 new theme variables.
It allows to configure the border of the focus/resize widget arrows.
2021-12-08 11:13:00 -08:00
Emmanuel Lepage Vallee 72c733b537 focus: Correctly handle screen indices.
Porting bug from... 10 years ago.
2021-12-08 10:09:32 -08:00
Emmanuel Lepage Vallee 3ab0f7a566 Fix a problem with the git-master version of awesome.
getproperty use is long deprecated anyway, so it's not really a
regression.
2021-10-24 14:20:13 -07:00
przymusp 3d2cd785a4
Fixes errors in max layout (#30)
If one of the clients was maximised (like PDF viewer) an error was
thrown and visual artifact left on the screen.

This patch fixes it by:

  1. Making last condition in draw_shape more robust - this fixes the error.
  2. Adding missing local variable to change_tag.
2020-05-28 13:53:22 -07:00
przymusp e0d43e607a fix client_icon in max.lua (#28) 2019-09-17 12:50:00 -04:00
Emmanuel Lepage Vallee 976aa2051f Add some more beautiful options 2019-01-26 18:03:46 -05:00
Emmanuel Lepage Vallée 46e7599251
Merge pull request #25 from nickdiego/bugfixing
Fix bug in focus module when no client is currently focused
2018-03-19 14:28:39 -04:00
Nick Diego Yamane ad10840f8e Fix bug in focus module when no client is currently focused
- Suppose we have 2 screens side-by-side and the mouse is at the
screen 1 (left) and no client is open/focused there, and the user
requests to move focus to the client at right (screen 2). Currently
the focus is moved correctly, but the mouse stays in the screen one,
leading to kinda inconsistence for the next commands, etc.
- This patch modifies the focus.bydirection() to move mouse to new
client's screen (we're moving focus to) even when there was no client
focused at that point.

Signed-off-by: Nick Diego Yamane <nick@diegoyam.com>
2018-03-19 13:10:18 -04:00
Nick Diego Yamane 68b86ada1d Fix typo in variable name
Signed-off-by: Nick Diego Yamane <nick@diegoyam.com>
2018-03-19 13:09:58 -04:00
Emmanuel Lepage Vallee e932abc867 Fix Lua 5.3 2017-11-24 14:42:37 -05:00
Emmanuel Lepage Vallée 09c51e3d10 Merge pull request #22 from nickdiego/fix-shape-rotate
Fix calculation error when rotating collision arrows
2017-08-10 21:33:41 -04:00
Nick Diego Yamane 62a743aa3e Fix calculation error when rotating collision arrows
- Fix issue #21: take padding into account when calculating
center point to rotate arrow shapes.
- Also, this patch expose 2 new beautiful paramenters:
collision_shape_width and collision_shape_height

Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
2017-08-10 19:21:08 -04:00
Emmanuel Lepage-Vallee 1b126be232 resize: Fix the shape for Awesome v4.1+ 2017-05-28 22:24:43 -04:00
Emmanuel Lepage-Vallee 7f2572a79f focus: Fix the shape for Awesome v4.1+ 2017-05-28 22:21:43 -04:00
Emmanuel Lepage-Vallee 3536951a7a screen: Fix multiple little issues 2017-05-28 22:16:25 -04:00
Emmanuel Lepage Vallée 79407729d0 Update README.md
Fix a typo, thanks to Monica_Heart on IRC
2017-02-24 13:57:14 -05:00
Emmanuel Lepage Vallée ce8a315c5a Merge pull request #19 from SammysHP/patch-1
doc: Use GitHub key style
2017-01-25 09:07:10 -05:00
SammysHP 77ea123a31 doc: Use GitHub key style 2017-01-25 14:43:49 +01:00
Emmanuel Lepage Vallee 6c1826ebb6 Update the README 2016-12-29 17:28:51 -05:00
Emmanuel Lepage Vallee 26cd5a9f7c Warn about Awesome 4.0 dependnecy 2016-12-29 17:24:38 -05:00
Emmanuel Lepage Vallee 8a24f426f8 Merge branch 'dynamic' 2016-12-29 17:23:05 -05:00
Emmanuel Lepage Vallee ffeaad04cc Remove the split module as Awesome 4.0 doesn't support that 2016-12-29 17:22:52 -05:00
Emmanuel Lepage Vallee 1dae172d8b resize: Fix a possible error 2016-09-14 01:38:32 -04:00
Emmanuel Lepage Vallee 336aac11b1 utils: Fix an error when remove a screen 2016-09-14 01:38:12 -04:00
Emmanuel Lepage Vallee 6ab1a28b72 max: Fix a deprecation warning 2016-09-14 01:37:44 -04:00
Emmanuel Lepage Vallee c734e9387c focus: Fix more screen issues 2016-09-14 01:37:05 -04:00
Emmanuel Lepage Vallee 45e3e10a50 screen: Port the screen module to the new Awesome screen API
There is still some deprecated screen indexes, but overall it
works.
2016-07-30 17:24:26 -04:00
Emmanuel Lepage Vallee 40f2334bb7 TMP split 2016-06-12 23:32:21 -04:00
Emmanuel Lepage Vallee edd065e694 api: Fix deprecation warnings and update API usage
Be safe(r) with screen object usage.
2016-06-12 23:31:36 -04:00
Emmanuel Lepage Vallee 62f251d36e focus: Add beautiful options
And fix deprecation warnings
2016-06-12 23:31:00 -04:00
Emmanuel Lepage Vallee 906f430f04 resize: Port to the new upstreamed APIs and add options
Most of the old code has been upstreamed. I used the reduced
complexity to add tons of new visual options. It looks great!

This remove support for resizing tiled layouts. First of all, it
never worked properly. Also, I have a new layout system with
a saner way of doing this. As it wont make it for 3.6, I will
merge it into Collision.
2016-06-12 17:32:32 -04:00
Emmanuel Lepage Vallée b30f78d23c Update README.md 2016-05-25 23:53:44 -04:00
Emmanuel Lepage Vallee 1a87e0734a Fix compatibility with Awesome git-master 2016-03-28 05:03:55 -04:00
Emmanuel Lepage Vallee 7440926ee0 Support the dynamic layout resize module 2016-02-17 02:36:23 -05:00
Emmanuel Lepage Vallee 7bcbb822c9 TMP
* Use the new Awesome `shape` API
* Fix the `split` module
* Support dynamic resize
2016-02-09 00:10:11 -05:00
Emmanuel Lepage Vallee 042272bee9 TMP 2016-01-09 16:44:47 -05:00
Emmanuel Lepage Vallee b7db0cd096 general: Support the new shortcut upstream viewer 2016-01-08 02:26:23 -05:00
Emmanuel Lepage Vallee 9c0be48833 focus: Add some beautiful options, update documentation 2016-01-08 01:51:37 -05:00
Emmanuel Lepage Vallee e0f6676a8b Prepare for an extended API 2016-01-08 00:51:27 -05:00
Emmanuel Lepage Vallee cd7ce63e80 max: Fix issue when there is no client icon 2015-12-26 06:56:34 -05:00
Emmanuel Lepage Vallee fb29fa2801 Fix regression Awesome git-master with lua 5.1 2015-12-26 06:53:12 -05:00
Emmanuel Lepage Vallee c9c0516ed5 fix regression from eb1a6a1b6 2015-05-26 01:00:07 -04:00
Emmanuel Lepage Vallee 7672d3f26a Move cursor when focus change screen (fix #13) 2015-03-29 20:54:56 -04:00
Emmanuel Lepage Vallee eb1a6a1b6c Prevent invalid client error 2015-03-28 23:49:48 -04:00
Emmanuel Lepage Vallee 03e45b8583 Implement focus rotation past the screen first/last screen edges 2015-03-15 01:16:31 -04:00
Emmanuel Lepage Vallee 38d8824668 focus: Allow empty screens to be selected 2015-03-14 23:17:18 -04:00
Emmanuel Lepage Vallee 7155d6c48c reisze: Prevent invalid sizes 2015-03-07 21:17:27 +00:00
Stefan Siegel 77b26ff142 Consolidate arrow drawing 2015-03-07 20:51:57 +00:00