phillbush [Thu, 28 May 2020 00:43:10 +0000 (21:43 -0300)]
Fixing calculation of menu position.
The position didn't take into account the menu borders.
Also, freeing allocated menus and items.
phillbush [Wed, 27 May 2020 23:57:38 +0000 (20:57 -0300)]
Updating install commands in Makefile
phillbush [Wed, 27 May 2020 18:10:53 +0000 (15:10 -0300)]
removed a goto
phillbush [Wed, 27 May 2020 17:34:55 +0000 (14:34 -0300)]
Reordering stuff, removing unused variables
phillbush [Wed, 27 May 2020 16:40:11 +0000 (13:40 -0300)]
Getting rid of some global variables
They are local now.
phillbush [Wed, 27 May 2020 14:19:49 +0000 (11:19 -0300)]
Improved README
phillbush [Wed, 27 May 2020 03:15:10 +0000 (00:15 -0300)]
Separated getmenuitem into two functions
phillbush [Tue, 26 May 2020 21:43:45 +0000 (18:43 -0300)]
Refactored code, changed resources and config.h
phillbush [Sun, 24 May 2020 01:06:21 +0000 (22:06 -0300)]
Removed the -w option (it was too buggy)
phillbush [Sat, 23 May 2020 23:41:09 +0000 (20:41 -0300)]
Creating windowed branch for -w
I will remove the -w (windowed) option from the master branch, for it
raises more problems than solutions, I will maintain it in the windowed
branch.
phillbush [Tue, 19 May 2020 16:41:11 +0000 (13:41 -0300)]
Menu windows are recalculated with -w
Every time a window is opened, its position is recalculated with
recalcmenu().
phillbush [Tue, 19 May 2020 13:22:24 +0000 (10:22 -0300)]
trapping sighup in xmenu.sh
phillbush [Tue, 19 May 2020 12:17:06 +0000 (09:17 -0300)]
Make xmenu wait for another process to ungrab
Xmenu didn't wait for another process to ungrab the poiter or keyboard,
ending up in erroneous behavior. Now it waits.
phillbush [Tue, 19 May 2020 09:22:00 +0000 (06:22 -0300)]
Simplifying the example script.
phillbush [Tue, 19 May 2020 08:56:06 +0000 (05:56 -0300)]
Referring to the new changes in the manpage.
phillbush [Tue, 19 May 2020 08:51:21 +0000 (05:51 -0300)]
Correctly setting WM_CLASS.
phillbush [Tue, 19 May 2020 07:49:33 +0000 (04:49 -0300)]
The script now supposes that xmenu is installed
phillbush [Tue, 19 May 2020 07:47:35 +0000 (04:47 -0300)]
simple tweak on xmenu.sh
The script now runs in the background.
phillbush [Tue, 19 May 2020 02:05:14 +0000 (23:05 -0300)]
Fixed order of function calls
You must grab the keyboard after reading the input.
phillbush [Tue, 19 May 2020 02:00:29 +0000 (23:00 -0300)]
Fixed makefile
phillbush [Tue, 19 May 2020 01:56:53 +0000 (22:56 -0300)]
Fixed man page installation.
phillbush [Tue, 19 May 2020 01:27:56 +0000 (22:27 -0300)]
Added xft support (smooth fonts)
phillbush [Sun, 17 May 2020 20:01:46 +0000 (17:01 -0300)]
xmenu now can be operated by keyboard
phillbush [Sun, 17 May 2020 04:28:04 +0000 (01:28 -0300)]
`make install` now install the manpage
phillbush [Sun, 17 May 2020 04:22:21 +0000 (01:22 -0300)]
xmenu now supports x resources
phillbush [Sun, 17 May 2020 03:12:59 +0000 (00:12 -0300)]
config.h
phillbush [Sun, 17 May 2020 03:08:23 +0000 (00:08 -0300)]
Xmenu now has a man page.
phillbush [Sat, 16 May 2020 21:01:14 +0000 (18:01 -0300)]
The README file referred to dwm
phillbush [Sat, 16 May 2020 18:08:25 +0000 (15:08 -0300)]
better-looking color scheme
I just stole the colors from firefox's context menu.
phillbush [Sat, 16 May 2020 17:43:07 +0000 (14:43 -0300)]
improved algorithm for mapping/unmapping
In previous versions, all the previous current visible menus are
unmapped and the new currently visible menus are mapped when the
current visible menu changed. Now, using an algorithm that finds
the lowest common ancestor between current and current_new menus,
only the necessary menus are remapped on the display.
phillbush [Sat, 16 May 2020 05:14:29 +0000 (02:14 -0300)]
improved algorithm that draw menus
phillbush [Sat, 16 May 2020 04:28:57 +0000 (01:28 -0300)]
NOW IN PUBLIC DOMAIN!
phillbush [Sat, 16 May 2020 04:24:43 +0000 (01:24 -0300)]
width is now calculated from the font
phillbush [Sat, 16 May 2020 03:58:32 +0000 (00:58 -0300)]
A better triangle
Now the triangle indicating submenus is smaller and better looking.
phillbush [Sat, 16 May 2020 03:43:59 +0000 (00:43 -0300)]
using pixmaps
Using pixmaps rather than drawing directly on windows.
phillbush [Sat, 16 May 2020 02:10:16 +0000 (23:10 -0300)]
xmenu now works on tile window managers
The windows now set size hints for maximum and minimum size.
phillbush [Sat, 16 May 2020 02:08:05 +0000 (23:08 -0300)]
Test
phillbush [Sat, 16 May 2020 01:51:26 +0000 (22:51 -0300)]
Added separators
Now lines without labels in the input generate a menu separator.
phillbush [Sat, 16 May 2020 01:25:05 +0000 (22:25 -0300)]
item->y is now relative to menu, not to root
phillbush [Fri, 15 May 2020 22:02:23 +0000 (19:02 -0300)]
Initial commit