phillbush
a5ddd2cd22
Simplifying parsing and data structure building
• Parsing of stdin was simplified by using conventional stdlib functions
rather than parsing the stdin byte-by-byte.
• Splited parsing of textual input and building of internal data
structures into two different functions.
4 years ago
phillbush
15dfafdfb1
Saving users memory.
When the item->label and item->output are the same, XMenu now only
strdup() the item->label and make item->output equal to item->label.
This saves memory when the user do not write a output specification
in the input.
4 years ago
phillbush
4f898cc3af
Adding the demo gif to the repository.
4 years ago
phillbush
6b5123e793
Updated manpage, removed unused variables, etc.
• Updated manual page (removing mention to the removed -w option).
• Removed unused variables (dc.d).
• Freeing item's label and output.
4 years ago
phillbush
ec4ed1ac1e
Fixing calculation of menu position.
The position didn't take into account the menu borders.
Also, freeing allocated menus and items.
4 years ago
phillbush
95e47cc023
Updating install commands in Makefile
4 years ago
phillbush
cdc4d51fee
removed a goto
4 years ago
phillbush
c6d9174ec2
Reordering stuff, removing unused variables
4 years ago
phillbush
257e42cc23
Getting rid of some global variables
They are local now.
4 years ago
phillbush
571d99e165
Improved README
4 years ago
phillbush
0c1a78642c
Separated getmenuitem into two functions
4 years ago
phillbush
fd530f3f68
Refactored code, changed resources and config.h
4 years ago
phillbush
2744390027
Removed the -w option (it was too buggy)
4 years ago
phillbush
21a9aaecb1
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.
4 years ago
phillbush
8455c36913
Menu windows are recalculated with -w
Every time a window is opened, its position is recalculated with
recalcmenu().
4 years ago
phillbush
88afe438b1
trapping sighup in xmenu.sh
4 years ago
phillbush
85003546a2
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.
4 years ago
phillbush
c49dad285c
Simplifying the example script.
4 years ago
phillbush
c0cff00dc8
Referring to the new changes in the manpage.
4 years ago
phillbush
d2435fcd5f
Correctly setting WM_CLASS.
4 years ago
phillbush
813ade537f
The script now supposes that xmenu is installed
4 years ago
phillbush
4e219dd8f3
simple tweak on xmenu.sh
The script now runs in the background.
4 years ago
phillbush
465d07dbe9
Fixed order of function calls
You must grab the keyboard after reading the input.
4 years ago
phillbush
697f63c474
Fixed makefile
4 years ago
phillbush
9c891da8b3
Fixed man page installation.
4 years ago
phillbush
dbeb994054
Added xft support (smooth fonts)
4 years ago
phillbush
858338d978
xmenu now can be operated by keyboard
4 years ago
phillbush
54931d1465
`make install` now install the manpage
4 years ago
phillbush
f644b8bc22
xmenu now supports x resources
4 years ago
phillbush
dddba407f4
config.h
4 years ago
phillbush
08f165897c
Xmenu now has a man page.
4 years ago
phillbush
873c080ceb
The README file referred to dwm
4 years ago
phillbush
12af0e7136
better-looking color scheme
I just stole the colors from firefox's context menu.
4 years ago
phillbush
d8a7caf2e3
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.
4 years ago
phillbush
d888f2cae4
improved algorithm that draw menus
4 years ago
phillbush
f70a900c8e
NOW IN PUBLIC DOMAIN!
4 years ago
phillbush
f158328539
width is now calculated from the font
4 years ago
phillbush
2b6968f911
A better triangle
Now the triangle indicating submenus is smaller and better looking.
4 years ago
phillbush
f15fc33987
using pixmaps
Using pixmaps rather than drawing directly on windows.
4 years ago
phillbush
c58c645637
xmenu now works on tile window managers
The windows now set size hints for maximum and minimum size.
4 years ago
phillbush
09c13122cc
Test
4 years ago
phillbush
7fbd1c5ed0
Added separators
Now lines without labels in the input generate a menu separator.
4 years ago
phillbush
a80fee227a
item->y is now relative to menu, not to root
4 years ago
phillbush
a77326901f
Initial commit
4 years ago