okan
7f75636e2f
- let callers of font_draw figure out (and pass) the color instead of an
...
'active' flag.
- use strlen() inside of font_draw; the only instance where it wasn't
used happened to be ignored on a subsequent draw.
2013-05-14 12:35:56 +00:00
okan
7ab1469590
new -> init
2013-05-11 22:01:07 +00:00
okan
f00ab96178
replace conf_{gap,color,font} with conf_screen since really we are
...
configuring the screen *after* parsing, just as we do a conf_client on
client manage.
2013-05-11 21:46:27 +00:00
okan
dc5b3b52df
more type fixes for mask/button
2013-05-10 16:32:47 +00:00
okan
f0fe071b5a
fix KeySym type
2013-05-10 15:44:43 +00:00
okan
52cbef8a12
remove group in client_delete directly.
2013-05-06 16:03:11 +00:00
okan
f0a6447140
no need for font_{ascent,descent,height} wrappers; limit font_width to
...
just requiring xftfont.
2013-05-02 17:25:15 +00:00
okan
87e16df157
use an int in screen_init and avoid needing to cast for screen number (which).
2013-04-29 00:56:47 +00:00
okan
fe3f832f4b
mechanical xu_{get,set}state -> xu_{get,set}_wm_state change
2013-04-17 13:57:06 +00:00
okan
62aed144f2
slightly rework WM_STATE set/get to make it less ambigious; will be more clear
...
on what needs to change to make it right in the end.
2013-04-17 13:52:20 +00:00
okan
373f1ddf90
add conf_ignore and move group_make_autogroup to conf_autogroup to match.
2013-04-17 13:30:38 +00:00
okan
726def3405
only a window is required to set WM_STATE. also un-confuse xu_ptr_getpos
...
by using 'win' instead of 'rootwin' so as not to imply only the root
window is queried, rather any window.
2013-04-14 16:13:17 +00:00
okan
0b6abd364f
push Screenq into screen_init
2013-04-12 14:46:30 +00:00
okan
a56cb7d9d2
add per-group vert/horiz tiling support; introduces 2 new bind commands,
...
'vtile' and 'htile'; from Alexander Polakov.
2013-01-08 15:16:04 +00:00
okan
65585e276f
rename {h,v}max functions for consistency; from Jan Stary
2013-01-04 16:30:03 +00:00
okan
8ca4aa87e7
really these are just border colors, so adjust the define
2013-01-04 16:27:58 +00:00
okan
9e11fcccad
get rid of struct color
2013-01-04 16:23:04 +00:00
okan
10e814fedf
have screen_find_xinerama() return struct geom *reliably* instead of
...
XineramaScreenInfo; simplifies goop around the callers.
2013-01-02 16:26:34 +00:00
okan
572328d529
least intrusive way to plug a memleak when unbinding a duplicate key for
...
kbfunc_cmdexec; from Tiago Cunha
2013-01-01 14:33:52 +00:00
okan
12bed5f129
make num of groups no longer off-by-one; from Alexander Polakov
...
note that a re-exec of cwm will not rewrite the group number atom of
*existing* clients, so they will remain off-by-one until each client has
its atom updated, or of course a restart of X.
2013-01-01 14:19:56 +00:00
okan
f718e8894b
gc unused cmd 'flags' variable
2012-12-19 15:21:34 +00:00
okan
9a1820657c
expand CHILDMASK
2012-12-18 18:39:55 +00:00
okan
ab9f6dbbff
use MOUSEMASK since we already have it
2012-12-18 18:35:36 +00:00
okan
565c84cc7a
remove unused SEARCHMASK
2012-12-18 17:44:18 +00:00
okan
7f6aabcb3d
define LockMask|Mod2Mask; no functional change
2012-12-18 17:37:39 +00:00
okan
44784133e7
simplify config file setup; with Tiago Cunha
2012-12-18 00:14:41 +00:00
okan
4766921753
put a default known_hosts into conf
2012-12-17 23:54:57 +00:00
okan
eabe498038
pull user home directory via getenv or getpwuid and stash it so we don't
...
need to do this everytime; with Tiago Cunha
2012-12-17 23:03:41 +00:00
okan
b08541104f
cmap -> colormap in client_ctx
2012-12-17 18:35:26 +00:00
okan
2410477c9d
stash the default screen visual and colormap in screen_ctx
2012-12-17 18:34:06 +00:00
okan
8f15d97537
replace client highlight with a client flag
2012-12-17 17:48:57 +00:00
okan
4ef0e7d9d2
make client_mtf static
2012-12-17 14:58:46 +00:00
okan
1c7a3484bf
create and use menuq_clear() helper; from Tiago Cunha
2012-12-17 14:32:39 +00:00
okan
887ac8ab28
screen font -> xftfont
2012-12-17 14:20:52 +00:00
okan
5ca4dca2e3
knf
2012-12-17 02:53:29 +00:00
okan
52982ae188
non-trivial menu drawing rewrite, moving to Xft and solving various
...
font/color drawing issues; from Alexander Polakov
2012-12-17 02:28:45 +00:00
okan
ddf27615e6
x_setupscreen -> screen_init; no functional change.
2012-11-29 03:54:46 +00:00
okan
58353e9599
remove dead extern
2012-11-29 03:34:19 +00:00
okan
db22777ba0
add xasprintf() for upcoming changes.
2012-11-28 14:32:44 +00:00
okan
096354b57d
replace hand rolled font_make() with XftFontOpenName() and merge into
...
font_init().
2012-11-28 14:14:44 +00:00
okan
81715b0acb
fix some warnings; inspired by a diff from Thordur Bjornsson.
2012-11-08 20:18:19 +00:00
okan
1e3fec4362
get rid of the xfree() wrapper around free(); from Tiago Cunha.
2012-11-07 20:34:39 +00:00
okan
b01ce50ca5
spacing
2012-11-07 14:40:51 +00:00
okan
8bbba5aed3
tab completion support for menus; from Alexander Polakov.
...
ok sthen@ on an older incarnation
2012-11-07 14:39:44 +00:00
okan
17e94be7be
no longer a reason to carry conf_path in struct conf, so dice.
2012-10-31 22:06:24 +00:00
okan
34267fe638
replace 'reload' with 'restart', which merely re-exec's cwm using the
...
existing argv; same idea with respect to argv saving as Alexander
Polakov. reload support was half-complete and is getting in the way.
agreed to by many
2012-10-31 19:30:19 +00:00
okan
ab1deebeda
extend client_resize so that it can know when to reset max flags and
...
bwidth; this allows a client to be resized from a max state, which now
gets treated like a non-max'd client. based on a diff that does part of
this in a different way from Alexander Polakov.
2012-09-09 19:47:47 +00:00
okan
94b92cf7fb
re-use geom struct in client_ctx (saved)geometry.
2012-07-13 17:01:04 +00:00
okan
6ee7c6534f
convert xmax/ymax uses to view geometry.
2012-07-13 15:21:35 +00:00
okan
3f2059e461
introduce screen "view" area and "work" area (gap applied) to simplify
...
various blocks that require understanding the screen geometry.
2012-07-13 14:18:04 +00:00