phillbush
cdeaefaaa2
Added support for fallback fonts.
Also changed license.
преди 4 години
phillbush
675a2008a6
Fixing #7
Redrawing an icon every time the cursor moves between items costs a lot
of time. So now each icon is drawn once, and s copied when needed.
преди 4 години
phillbush
ced6b0f73e
Removing debug printf
преди 4 години
phillbush
05cfe1a0da
Adding the -p option.
Changing config.cursx and config.cursy to config.posx and config.posy.
Adding the parseposition() function.
преди 4 години
phillbush
71b4db9241
added the -i option
Widths and x positions no more depend on item->h.
преди 4 години
phillbush
92e7609bcd
Referencing the gap X resource in the manual
преди 4 години
phillbush
eecf9b25ff
Adding X resource for gaps
преди 4 години
phillbush
a3a7383740
Moving XSetWMProtocols to setupmenu()
преди 4 години
phillbush
8902c43b92
Adding gaps support and more.
• Adding support for gaps (#3 )
• Adding more comments and categorizing function declarations.
• Adding support for EWMH properties (xmenu look is now consistent
in some window compositors).
• Changing how configuration is done (now all configuration belongs
to the config structure).
преди 4 години
phillbush
585e3de1a3
Squashed commit of the following:
commit b0f37c9fdb
Author: phillbush <phillbush@cock.li>
Date: Mon Jun 29 09:58:36 2020 -0300
Compile time error fixes
commit e6bf27768f
Author: Karl Martin <karlmartin895@gmail.com>
Date: Sun Jun 28 23:08:02 2020 -0400
v1.01
add: user can set gap width prefs
commit 0cca216309
Author: Karl Martin <karlmartin895@gmail.com>
Date: Sun Jun 28 23:04:10 2020 -0400
INIT: func addition + error fix
hack + prefs: extra x,y padding for initial menu
add: x padding for child menus
fix: 2x compile time errors
преди 4 години
phillbush
d94ef32515
Adding reference to xclickroot.
преди 4 години
phillbush
84de136091
Merge pull request #2 from emanuele6/patch-1
Build: remove slashes after DESTDIR from commands in uninstall target
преди 4 години
Emanuele Torre
9859c2a555
Build: remove slashes after DESTDIR from commands in uninstall target
преди 4 години
phillbush
685ca30d8d
Configuring height directly by setting the height.
Rather than setting the padding.
преди 4 години
phillbush
5a83c7dce2
Typo
преди 4 години
phillbush
d584fba626
Updating config.mk, manual and README
преди 4 години
phillbush
721517254c
Updating README
преди 4 години
phillbush
3bec05ea77
Readding the -w option
преди 4 години
phillbush
7b867888e0
Adding some icons samples
преди 4 години
phillbush
33376f5420
Merging icons branch on master branch.
And adjusting the geometry of items.
преди 4 години
phillbush
f8ffe0b2e4
Renaming routine and spliting it into subroutines
Renaming calcmenu() to setupmenu() and shrinking it by calling two
new functions: setupmenusize() and setupmenupos().
преди 4 години
phillbush
0dfd6fa00e
Removing patches, using branches approach
преди 4 години
phillbush
a966c86682
Updating README to mention patches
преди 4 години
phillbush
0704f950ad
Adding icons patch
преди 4 години
phillbush
207c3312d5
typo
преди 4 години
phillbush
738ed9d5f5
comment
преди 4 години
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.
преди 4 години
phillbush
ddeb6e1ef2
Mentioning dmenu.gif in the README §Files section
преди 4 години
phillbush
ddb15acfde
Fixing segfault in case of empty input
преди 4 години
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 години
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 години
phillbush
4f898cc3af
Adding the demo gif to the repository.
преди 4 години
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 години
phillbush
ec4ed1ac1e
Fixing calculation of menu position.
The position didn't take into account the menu borders.
Also, freeing allocated menus and items.
преди 4 години
phillbush
95e47cc023
Updating install commands in Makefile
преди 4 години
phillbush
cdc4d51fee
removed a goto
преди 4 години
phillbush
c6d9174ec2
Reordering stuff, removing unused variables
преди 4 години
phillbush
257e42cc23
Getting rid of some global variables
They are local now.
преди 4 години
phillbush
571d99e165
Improved README
преди 4 години
phillbush
0c1a78642c
Separated getmenuitem into two functions
преди 4 години
phillbush
fd530f3f68
Refactored code, changed resources and config.h
преди 4 години
phillbush
2744390027
Removed the -w option (it was too buggy)
преди 4 години
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 години
phillbush
8455c36913
Menu windows are recalculated with -w
Every time a window is opened, its position is recalculated with
recalcmenu().
преди 4 години
phillbush
88afe438b1
trapping sighup in xmenu.sh
преди 4 години
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 години
phillbush
c49dad285c
Simplifying the example script.
преди 4 години
phillbush
c0cff00dc8
Referring to the new changes in the manpage.
преди 4 години
phillbush
d2435fcd5f
Correctly setting WM_CLASS.
преди 4 години
phillbush
813ade537f
The script now supposes that xmenu is installed
преди 4 години