summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2009-08-24bring together gathering, calculating and applying of size hints;Okan Demirmen
additionally, respect aspect ratio hints. ok oga@
2009-08-24Instead of having a function that just calls TAILQ_INIT on a global, useOwain Ainsworth
TAILQ_HEAD_INITIALIZER() and drop the function. ok okan@
2009-08-24instead of checking for flags in the client context, then removing them.Owain Ainsworth
e.g.: if (flags & flags_we_care_about) flags &= ~(flags_we_care_about); just whack the flags unconditionally, it's simpler. okan@ agrees.
2009-08-08remove unnecessary Ar macrosOkan Demirmen
ok jmc@
2009-08-08remove unnecessary Dq macro; based on a diff from Martin ToftOkan Demirmen
feedback and ok jmc@, martynas@
2009-07-19Initialize ed.used_stdout at the beginning of do_extract() to avoidMatthieu Herrb
reading uninitialized memory later. Reported by Philip Guenther. Thanks.
2009-06-26use fnmatch to glob the entries in the exec menu.Owain Ainsworth
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-26puffy 4.6Todd T. Fries
2009-06-26static local functions and data; almost identical diff from Thomas PfaffOkan Demirmen
ok oga@
2009-06-23tidy up startup/init routinesOkan Demirmen
ok oga@
2009-06-20compact a bit by condensing a few if-else's; from Thomas PfaffOkan Demirmen
"go on then" oga@
2009-06-20unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over theOkan Demirmen
place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@
2009-06-20spacingOkan Demirmen
2009-06-19``exec'' and ``ssh'' are lowercase.Igor Sobrado
ok martynas@
2009-06-18items on the first list should have full stops too.Igor Sobrado
ok martynas@
2009-06-18the on-line manual should use the same notation for key bindingsIgor Sobrado
as the configuration file, this way writing configuration files is easier; add a few missing interactive command (.Ic) macros to key bindings; slightly improve spacing in the lists; other tweaks. ok martynas@
2009-06-17remove unnecessary casts; from Thomas PfaffOkan Demirmen
ok oga@
2009-06-17re-factor parts of mouse move/resize bit to shrink and make moreOkan Demirmen
readable; no behavior change ok oga@
2009-06-17move like defines to a central, logical location; no binary change.Okan Demirmen
aok oga@
2009-06-06typojoshua stein
2009-05-31workaround for a problem that appeared with xterm 243 on arm cpus.Matthieu Herrb
It dumps core in VTInitialize() if charproc.c is compiled with -O2. The problem is in the lines 5610 to 5614 of this file, which were added by xterm 243, but I can't see an obvious problem here.
2009-05-30'no' is the answer to the comment question: cc->name can't be NULL atOkan Demirmen
this point due to client_setname()'s work; remove this check. ok oga@
2009-05-30re-order a bit for readability.Okan Demirmen
"if it makes you happy" oga@
2009-05-30revert the 1.4 change - causes a double free noticed by grange@ a whileOkan Demirmen
ago while using kazehakase (or clients that don't set a name). ok oga@
2009-05-19In movetogroup, check the window's current group and skip client_hide()Stuart Henderson
if it's the same as the active group. Was in my original movetogroup diff, but it got simplified a little too far. ok oga@
2009-05-18update to xinput 1.4.2Matthieu Herrb
2009-05-18nuke the leading underscore notation for local static functions - thereOkan Demirmen
are far better ways to know. "go for it" oga@
2009-05-18oops, we appear to have grown an extra prototype for group_only(), getOwain Ainsworth
the secateurs out.
2009-05-18Rip out the event layer and just use a static array of callbacks likeOwain Ainsworth
every other window manager since twm. The event layer is very nice, very shiny, very flexible, and very much underutilised. We don't need any of those shiny features so it's probably better to earn ourselves 1k smaller text size instead. ok todd@, okan@
2009-05-17redraw all borders at once on reloadOkan Demirmen
"sure" oga@
2009-05-17a long time coming - re-work the way we deal with colors: since we'reOkan Demirmen
using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@
2009-05-17minor bit of knf, just to be consistent; oga@ doesn't mind that muchOkan Demirmen
2009-05-17unbreakOkan Demirmen
2009-05-17add a "movetogroup" function, which hides the current window fromStuart Henderson
display and moves it to another group. useful with the recently added "grouponly" function, giving the ability to use groups as simple virtual desktops (similar to e.g. xmonad, dwm and scrotwm). this doesn't have default keyboard bindings; cwmrc(5) now shows how you could use these functions (use M-1...9 for grouponly1...9 and MS-1...9 for movetogroup1...9 to emulate the default dwm bindings). ok oga@
2009-05-17redraw the border when unhiding a client window. fixes the situation whereStuart Henderson
you change to a different group and the mouse isn't over a window; previously the border of the previously active window was highlighted but it didn't actually have focus. reads ok to oga@.
2009-05-14add missing prototype.Owain Ainsworth
2009-05-14Add a new command (currently no default keybindings for it), grouponly[1-9].Owain Ainsworth
This works like the group select binding, but hides all other groups. So, the people who've been complaining that they don't get "virtual desktops" in cwm may want to try this out in cwmrc (from memory, untested): --- #cwmrc # add new windows to the current group set sticky # automatically sticky windows. xclock for now. # to make more windows sticky use group_toggle to unset their group autogroup 0 xclock # make the group selection keys hide other groups, emulate virtual desktops bind CM-1 grouponly1 bind CM-2 grouponly2 bind CM-3 grouponly3 bind CM-4 grouponly4 bind CM-5 grouponly5 bind CM-6 grouponly6 bind CM-7 grouponly7 bind CM-8 grouponly8 bind CM-9 grouponly9 --- mostly by sthen, tweaks from me. ok todd@, "if it works i'm ok with it" okan@, ok sthen@
2009-05-04right and middle mouse buttons swapped; from rgouveia@cosmico.netOkan Demirmen
2009-05-04no need to use the global here.Okan Demirmen
ok todd@ oga@
2009-05-04properly document menu_unhide; tweak a patch from rgouveia@cosmico.net - thanks.Okan Demirmen
ok oga@
2009-05-03update to xinit 1.1.1Matthieu Herrb
2009-05-02fix usage(). this bit me when I actually tried to use it. Now it matchesOwain Ainsworth
the manpage (which is correct). ok matthieu@
2009-05-02update to xinput 1.4.1Matthieu Herrb
2009-05-02update to xrandr 1.3.0Matthieu Herrb
2009-05-01fix the other 50% of xrandr cases; reported by sthen@Okan Demirmen
"commit that" oga@, ok sthen@
2009-04-15don't sync more than 60 times per sec on resize and move; idea from scrotwm.Okan Demirmen
ok oga@ sometime ago
2009-04-15properly teardown X connection upon quit; static a few while here,Okan Demirmen
requested by oga@ ok oga@ sometime ago
2009-04-12we include sys/param.h, so remove sys/types.h; sort while here.Okan Demirmen
ok oga@
2009-04-04Update to xterm 243. tested by naddy@.Matthieu Herrb
Patch #243 - 2009/3/28 * revert change to default for allowTcapOps (request by Bram Moolenaar). * reallocate result returned by xtermEnvLocale() to avoid reference to freed memory after handling menuLocale resource. * fix an old (X11R5) bug in tek4014 for switching fontsizes. * add resource defaultString to make configurable the use of "#" when pastes of UTF-8 text fail due to limitations in the current locale settings. * make the set of selection target Atom's configurable by two new resources eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT Atom in preference to UTF8_STRING (discussion with Stanislav Sedov regarding koi8rxterm and the FreeBSD port). * modify handling of TARGETS Atom by making it return exactly the set of targets as those which xterm is currently providing. * set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work around /etc/man.conf's with those variables already set (report by Mar'yasin Semion). * improve error-checking of tcap-query parser. * add check for keyboard tcap), which ensures that terminal descriptions containing the same string for shifted/unshifted keys will be seen by tcap-query as only the unshifted key. (This would only happen with an incorrect terminal description). * fix conversion for input event-state to modifier-parameter which made tcap-query feature not work with tcapFunctionKeys (keyboard type tcap). * add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the default compiled-in values for "allowxxx" resources. * remove check on bell-percentage added in patch #242, which disallowed zero/negative values (Redhat Bugzilla #487829).
2009-03-28- avoid shadowed Mask declaration in menu_filterMartynas Venckus
- make _xev_reincorporate static evmask naming oga@, input okan@. ok okan@, oga@