okan
4454948f21
cvsimport
2015-06-09 13:02:15 +00:00
okan
8888c44888
add client label
2015-06-08 15:34:03 +00:00
Christian Neukirchen
742732a1c8
cvsimport
2015-01-22 11:06:01 +01:00
okan
7936b9b2a7
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
...
and HOST_NAME_MAX+1, respectively.
ok doug@
2015-01-19 14:54:16 +00:00
okan
2540b3f4fe
cvsimport
2014-09-18 13:56:58 +00:00
okan
4b6dc96398
use similiar style for client flags
2014-09-15 13:00:49 +00:00
okan
3d12b6d1d9
more style nits
2014-09-07 19:27:30 +00:00
Christian Neukirchen
9e560bd745
cvsimport
2014-09-07 15:47:44 +00:00
okan
fe533fdc8e
Fix nogroup regression, where nogroup became an actual group - the
...
symantics between cwm groups and ewmh got in the way. Ensure a client
that wants to be in nogroup stays in nogroup (thus stays in view), even
when (re)reading NET_WM_DESKTOP. Paritially reverts patchset 644
(2014-02-07 13:09 PST) which deals with a NULL cc->group. All to be
revisited when NET_WM_STATE_STICKY hits cwm.
Reported by many; testing and ok phessler.
2014-08-22 19:04:00 +00:00
okan
b31b09dfc2
Purely mechanical; unify 'num', 'no' and 'shortcut'.
2014-08-20 15:15:29 +00:00
okan
8ddc90665e
cvsimport
2014-02-08 02:49:30 +00:00
okan
2a87320bbf
all mapped clients now should have a group, so simplify some cases
2014-02-07 21:59:56 +00:00
okan
371902b3c9
cvsimport
2014-01-21 15:42:44 +00:00
okan
720b5452aa
Add a function that adds an entry to a menuq, normalizing a common code
...
path; from Tiago Cunha.
2014-01-20 18:58:03 +00:00
okan
86b149ad25
cvsimport
2014-01-03 15:29:06 +00:00
okan
43ccf4eae0
use consistent types
2014-01-03 15:29:06 +00:00
okan
140028e905
cvsimport
2013-12-11 22:14:23 +00:00
okan
23a1abdd8a
Stash Class and WM Hints in client_ctx
2013-12-11 14:09:21 +00:00
okan
2951979832
cvsimport
2013-12-08 13:51:38 +00:00
okan
7fad5224d4
If not using sticky mode (the default), clients aren't automagically
...
assigned a group, thus cc->group will be NULL - fix the client group
shortcut in menu lists; crash reported by Christian Neukirchen.
2013-12-08 13:51:38 +00:00
okan
873763f4c6
cvsimport
2013-12-02 20:01:19 +00:00
okan
d1b232fe81
Prepend the group shortcut in the client search menu; from Thomas Adam.
...
Likewise, prepend shortcut in unhide menu.
2013-12-02 19:30:27 +00:00
okan
843f18aaee
cvsimport
2013-04-30 21:12:20 +00:00
okan
ff6f5301f0
missing proto
2013-04-30 21:11:07 +00:00
okan
a957ed7c7d
cvsimport
2013-04-05 17:36:02 +00:00
okan
f18d2c94c2
add missing proto; replace magic number
2013-04-05 17:36:02 +00:00
okan
670207f79b
zap stray whitespace
2013-04-05 17:07:25 +00:00
okan
9cad4c73b3
honor PATH search order for exec; from Andres Perera.
2013-04-03 19:28:00 +00:00
okan
cfc19dba7e
cvsimport
2013-03-09 21:55:56 +00:00
okan
fbb0df4155
replace handrolled for loop with TAILQ_FOREACH; from andres.p@zoho.com
2013-03-09 21:55:56 +00:00
Christian Neukirchen
b4315a3fda
Use vendored queue.h everywhere
2012-11-26 16:27:22 +01:00
okan
28224ff830
sort
2012-11-09 03:52:02 +00:00
okan
4b84287d19
tab completion support for menus; from Alexander Polakov.
...
ok sthen@ on an older incarnation
2012-11-07 14:39:44 +00:00
okan
f51f3cb9c2
We are inconsistent when it comes to function returns, so just go all
...
the way with the cwm specific parts.
ok oga@
2011-07-25 15:10:24 +00:00
okan
c8cd94882d
tag and comment cleanup; ok oga@
2011-05-11 13:53:51 +00:00
okan
2c706e60c7
introduce nitems macro, with the appropriate ifndef.
...
ok oga@
2011-03-22 10:57:31 +00:00
okan
917bce4b8d
spacing nits
2010-09-25 20:01:27 +00:00
okan
ccb207a8a8
pull all non-X11 headers from calmwm.h and place them only where they
...
are required.
encourged to go all the way by oga@
2009-12-15 04:10:42 +00:00
okan
b27c3c22b5
pull these headers only into files that need them.
...
ok oga@
2009-12-15 03:34:34 +00:00
okan
b6b7d273d4
merge the 2 common header files; specific includes to be pulled out as
...
separate commits.
ok oga@
2009-12-15 03:24:36 +00:00
oga
590eb4f37b
use fnmatch to glob the entries in the exec menu.
...
allows shell globbing constructs such as *ctl, etc in the exec menu (m-?
by default).
Adapted from a diff from Thomas Pfaff, okan@ got almost the same diff as
me when reworking it, and oked this one.
2009-06-26 12:45:12 +00:00
okan
d7589ca80b
move like defines to a central, logical location; no binary change.
...
aok oga@
2009-06-17 12:30:17 +00:00
okan
2c29a1de65
nuke the leading underscore notation for local static functions - there
...
are far better ways to know.
"go for it" oga@
2009-05-18 00:23:35 +00:00
oga
61601991b5
Display the current window title not a previous one in the case of
...
``show all'' in the window search dialogue. Noticed and diff from Tim
van der Molen, thanks!
2008-09-22 14:15:03 +00:00
canacar
a0082c58a4
Keep the exec menu entries sorted.
...
Go for it okan@
2008-09-03 04:39:12 +00:00
okan
b23fad3987
spacing, declaration lineup to be consistent throughout cwm,
...
readability, and a bit of knf.
ok oga@
2008-07-11 14:21:28 +00:00
oga
1e46ba72f7
Pull out the behaviour in grab_label and search_start into one utility
...
function menu_filter(). The plan is to eventually merge in grab_menu too.
Shrinks the code a fair bit.
Also, change XMaskEvent for XWindowEvent to prevent getting exposes for other
windows. This is particuarly noticable on slow machines with a LOT of xterms
(todd, you're an odd man).
ok okan@, todd@.
2008-05-20 14:50:51 +00:00
okan
53116c4ec3
stop normalizing search input; searching and matching are still
...
case-insensitive. since this was the only use of normalizing input,
simplify as well.
allows one to exec with mixed case unmatched commands.
"works for me" oga@
2008-05-19 18:07:53 +00:00
oga
5034a77849
KNF, no binary change.
...
From Pierre Riteau. Thanks!
2008-05-15 22:18:00 +00:00
oga
75182c6d9c
hit it with the knf stick.
2008-04-15 20:24:41 +00:00