phillbush
721517254c
Updating README
hace 4 años
phillbush
3bec05ea77
Readding the -w option
hace 4 años
phillbush
7b867888e0
Adding some icons samples
hace 4 años
phillbush
33376f5420
Merging icons branch on master branch.
And adjusting the geometry of items.
hace 4 años
phillbush
f8ffe0b2e4
Renaming routine and spliting it into subroutines
Renaming calcmenu() to setupmenu() and shrinking it by calling two
new functions: setupmenusize() and setupmenupos().
hace 4 años
phillbush
0dfd6fa00e
Removing patches, using branches approach
hace 4 años
phillbush
a966c86682
Updating README to mention patches
hace 4 años
phillbush
0704f950ad
Adding icons patch
hace 4 años
phillbush
207c3312d5
typo
hace 4 años
phillbush
738ed9d5f5
comment
hace 4 años
phillbush
beae67a6a7
Making geom local to main().
I moved all the geometry related code to calcmenu().
The pro is that geom is now a local variable rather than global;
and that all geometry-related code is now in one place.
The con is that it weakens performance a little bit since some
variables, such as the border, have to be reset after the window
creation.
hace 4 años
phillbush
ddeb6e1ef2
Mentioning dmenu.gif in the README §Files section
hace 4 años
phillbush
ddb15acfde
Fixing segfault in case of empty input
hace 4 años
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.
hace 4 años
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.
hace 4 años
phillbush
4f898cc3af
Adding the demo gif to the repository.
hace 4 años
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.
hace 4 años
phillbush
ec4ed1ac1e
Fixing calculation of menu position.
The position didn't take into account the menu borders.
Also, freeing allocated menus and items.
hace 4 años
phillbush
95e47cc023
Updating install commands in Makefile
hace 4 años
phillbush
cdc4d51fee
removed a goto
hace 4 años
phillbush
c6d9174ec2
Reordering stuff, removing unused variables
hace 4 años
phillbush
257e42cc23
Getting rid of some global variables
They are local now.
hace 4 años
phillbush
571d99e165
Improved README
hace 4 años
phillbush
0c1a78642c
Separated getmenuitem into two functions
hace 4 años
phillbush
fd530f3f68
Refactored code, changed resources and config.h
hace 4 años
phillbush
2744390027
Removed the -w option (it was too buggy)
hace 4 años
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.
hace 4 años
phillbush
8455c36913
Menu windows are recalculated with -w
Every time a window is opened, its position is recalculated with
recalcmenu().
hace 4 años
phillbush
88afe438b1
trapping sighup in xmenu.sh
hace 4 años
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.
hace 4 años
phillbush
c49dad285c
Simplifying the example script.
hace 4 años
phillbush
c0cff00dc8
Referring to the new changes in the manpage.
hace 4 años
phillbush
d2435fcd5f
Correctly setting WM_CLASS.
hace 4 años
phillbush
813ade537f
The script now supposes that xmenu is installed
hace 4 años
phillbush
4e219dd8f3
simple tweak on xmenu.sh
The script now runs in the background.
hace 4 años
phillbush
465d07dbe9
Fixed order of function calls
You must grab the keyboard after reading the input.
hace 4 años
phillbush
697f63c474
Fixed makefile
hace 4 años
phillbush
9c891da8b3
Fixed man page installation.
hace 4 años
phillbush
dbeb994054
Added xft support (smooth fonts)
hace 4 años
phillbush
858338d978
xmenu now can be operated by keyboard
hace 4 años
phillbush
54931d1465
`make install` now install the manpage
hace 4 años
phillbush
f644b8bc22
xmenu now supports x resources
hace 4 años
phillbush
dddba407f4
config.h
hace 4 años
phillbush
08f165897c
Xmenu now has a man page.
hace 4 años
phillbush
873c080ceb
The README file referred to dwm
hace 4 años
phillbush
12af0e7136
better-looking color scheme
I just stole the colors from firefox's context menu.
hace 4 años
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.
hace 4 años
phillbush
d888f2cae4
improved algorithm that draw menus
hace 4 años
phillbush
f70a900c8e
NOW IN PUBLIC DOMAIN!
hace 4 años
phillbush
f158328539
width is now calculated from the font
hace 4 años