Commit Graph

40 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallee aeb9aeb1b8 impl: Adapt to new upstream API changes
* The screen API was broken
 * Many awful.tag, client and screen methods were deprecated
2016-12-25 21:59:37 -05:00
Emmanuel Lepage Vallee cbc5e6919f placement: Re-introduce many placements features lost during the re-write
The menu can be attached to a widget or the mouse again, and more

This commit also fix some tasklist/taglist issues and introduce minor
features like item.shape.
2016-12-25 21:59:37 -05:00
Emmanuel Lepage Vallee a1abd2f57a cleanup: Remove overlay/underlay hacks, re-implement as widgets container
There is a new widget called `infoshapes`. It support all the features
from the underlay system, but is a lot less intrusive. This allow to
make some code simpler.

This is another step in getting rid of all the hacks.
2016-12-25 21:59:37 -05:00
Emmanuel Lepage Vallee 5271ffd35c Begin the big changes for 3.6
Lots of things will break, hopefully for the better (eventually)

This commit use new upstream APIs:

 * Many cairo paths have been replaced with gears.shape and gears.matrix

This commit add some features:

 * Improved border_color support, now available per state
 * bg_image support, now available per state
 * Mutualize the state setting, remove duplicated code

Regressions:

 * The arrow menu background border is off by a pixel
 * The layout position problem reported by @mindeunix is now worst.

The positioning algo is full of race conditions and cannot be fixed
without a full rewrite. This commit break more things than it solve
and the code is in the middle of a transition. This will be solved
by future commits addressing the code quality (after the refactoring).
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee 3167affe99 overlay: Re-write for the new widget system
**WARNING**: this break the API
menu.overlay -> menu.draw_overlay

The new "overlay" behave like underlay, but is on top

This commit also add underlay/overlay "align" option and document
the feature properly.
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee 80bdbcca68 Add 'add_items' and 'add_widgets' methods 2014-12-28 22:23:59 -05:00
Emmanuel Lepage Vallee 5768d4729c Improve tag/tasklist theming options 2014-12-24 00:53:09 -05:00
Emmanuel Lepage Vallee 03090fa2ec Add a bunch of skining options 2014-11-14 23:46:06 -05:00
Emmanuel Lepage Vallee 1a7630e437 Add default_item_margins and default_margins 2014-10-17 23:52:26 -04:00
Emmanuel Lepage Vallee 26814e77ee Display a screenshot after 1.5 second when hovering the tasklist 2014-10-05 18:04:03 -04:00
Emmanuel Lepage Vallee 7e4b6ef81e Highlight the client border when hovering in mod4+tab 2014-08-08 02:00:49 -04:00
Emmanuel Lepage Vallee 72e9fea65b Fix multiple minor bugs/regressions 2014-05-31 23:45:46 -04:00
Emmanuel Lepage Vallee 40e41d508d Fix an awesome crash when using the tasklist 2014-04-19 21:38:28 -04:00
Emmanuel Lepage Vallee 63085be479 Fix scrolling on the tasklist 2014-04-18 23:33:13 -04:00
Emmanuel Lepage Vallee d9a82c87a4 Support multiple tags at once in the tasklist 2014-04-15 22:55:23 -04:00
Emmanuel Lepage Vallee 8da00cbd65 Add new notification item layout, improve extensions 2014-04-08 23:38:31 -04:00
Emmanuel Lepage Vallee 0b7e043156 Groundwork necessary to add random widgets to the tasklist (issue #23) 2014-03-29 22:56:09 -04:00
Emmanuel Lepage Vallee 5efc2d89e0 Fix arrow menu, improve tag/task menu 2014-03-26 23:21:42 -04:00
Emmanuel Lepage Vallee ef7e46f865 Improve dynamic menu speed 2014-03-26 16:18:59 -04:00
Emmanuel Lepage Vallee 700714eb1e Fix a bee04c14bc regression 2014-03-26 00:21:42 -04:00
Emmanuel Lepage Vallee ca8801aa11 Move the signals menu to its own file (issue #21) 2014-03-24 00:58:19 -04:00
Emmanuel Lepage Vallee 801d2ca2b4 Move the tag menu to a new file (issue #21) 2014-03-23 23:34:44 -04:00
Emmanuel Lepage Vallee dbf1865055 Add a more reliable (but hacky) tag tracking system 2014-03-20 22:50:06 -04:00
Emmanuel Lepage Vallee 02865234a1 tasklist: Support multiple screens 2014-03-19 23:13:55 -04:00
Emmanuel Lepage Vallee 76ea448b2d Add and document more beautiful values for [tag,task]lists 2014-03-15 01:22:09 -04:00
Emmanuel Lepage Vallee 231eef25bc Add global underlay support 2014-03-12 00:31:50 -04:00
Emmanuel Lepage Vallee b8ba760a1f Fix various minor issues 2014-03-02 16:29:07 -05:00
Emmanuel Lepage Vallee fabd52d1a6 Major refactoring, address issue #12 2014-02-22 23:59:03 -05:00
Emmanuel Lepage Vallee 7046b40f83 Add icon_transformation option (take this from Blind playbook)
It can use Blind common.drawing tools to implement some magic.

I may merge this into Radical and kill Blind as everything else
is pretty much deprecated at this point. Blind was never more
than a hack.
2014-02-19 22:09:28 -05:00
Emmanuel Lepage Vallee 1dea6095b0 Fix a bug when menu are larger than the screen edge 2014-02-18 22:19:38 -05:00
Emmanuel Lepage Vallee 579f26eb82 Add client_menu to radical (originally from 2010) 2014-02-18 00:19:44 -05:00
Emmanuel Lepage Vallee cd88700613 Port rc.lua default tasklist buttons to the tasklist module 2014-02-17 01:11:35 -05:00
Emmanuel Lepage Vallee 0a74963b41 Add proxy signals for item mouse events (issue #10 ) 2014-02-15 21:57:07 -05:00
Emmanuel Lepage Vallee b65f47e86b Add more bits for the overlay feature 2014-02-14 23:35:53 -05:00
Emmanuel Lepage Vallee 9205d9f27a Add partial dynamic overlay support
This will require a better event API to be useful, including issue #10
2014-02-12 23:10:07 -05:00
Emmanuel Lepage Vallee 76623695e6 Fix an issue with :remove() and fix taglist signals 2014-02-11 21:38:05 -05:00
Emmanuel Lepage Vallee f7bdc9b75a Update tasklist text when client change 2014-02-09 03:04:02 -05:00
Emmanuel Lepage Vallee cbb39935db Add support for mouse over colors 2014-02-09 00:54:59 -05:00
Emmanuel Lepage Vallee 1170ac0cc4 Fix 2 tasklist bugs 2014-02-08 01:31:45 -05:00
Emmanuel Lepage Vallee 4482d93c96 Add tasklist widget (prototype) 2014-02-08 00:52:42 -05:00