about summary refs log tree commit diff
path: root/conf.c
Commit message (Collapse)AuthorAgeFilesLines
* Add acceptraise to specify whether applications can activate and raise windows. cn-noraise-globalChristian Neukirchen2013-12-301-0/+1
| | | | Greetings from 30C3.
* cvsimportokan2013-12-171-1/+1
|\
| * replace with memsetokan2013-12-171-1/+1
| |
* | cvsimportokan2013-12-161-1/+4
|\|
| * Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint.okan2013-12-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we already have a form of 'maximize', we need to differentiate between 'maximize' and the new 'fullscreen' mode. The 'maximize' mode will continue to honor gap but now *retains* the border, matching the 'vert/horz maximize' behaviour. The new 'fullscreen' mode supports and follows the _NET_WM_STATE_FULLSCREEN hint, allowing the client perform additional window modifications; in this mode, cwm(1) will *ignore* gap, remove borders and freeze(move/resize) the client. Additionally, 'fullscreen' mode will remember various combinations of previous states. * default keybinding changes: CM-f 'fullscreen', CM-m 'maximize' (re-map as desired). Positive feedback from a few, testing and ok sthen@
* | cvsimportokan2013-12-131-0/+2
|\|
| * Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTIONokan2013-12-131-0/+2
| | | | | | | | | | | | | | ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me.
* | cvsimportokan2013-12-021-14/+4
|\|
| * like gap, make snapdist per screenokan2013-11-271-0/+1
| |
| * Remove the option to bind a key by keycode with brackets; it neverokan2013-11-271-14/+3
| | | | | | | | | | | | | | worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain.
* | cvsimportokan2013-10-251-1/+3
|\|
| * wrap key ungrab like btn ungrab, for it'll be used againokan2013-10-201-1/+1
| |
| * Using xu_btn_ungrab() buttons during client_leave doesn't work (errorokan2013-10-191-0/+2
| | | | | | | | | | | | | | BadValue) when the modifier is already AnyModifier . Instead alter xu_btn_ungrab() to ungrab AnyButton/AnyModifier and call it only when a client is coming into focus in client_setactive(), instead of iterating over ignore mods - matches how we handle key grabs.
* | cvsimportokan2013-10-071-3/+6
|\|
| * trying parsing a XLFD string first, then by patternokan2013-10-071-3/+6
| |
* | cvsimportokan2013-07-161-2/+39
|\|
| * don't need the size hereokan2013-07-161-1/+1
| |
| * max -> nitemsokan2013-07-161-1/+1
| |
| * simplify atom handling; allows us to limit to one round-trip to serverokan2013-07-151-0/+37
| | | | | | | | for gathering Atoms.
* | cvsimportokan2013-07-101-82/+83
|\|
| * type fixesokan2013-07-101-2/+2
| |
| * add support for mouse based group {,r}cycle; from Rodrigo Mosconi. notokan2013-07-081-0/+2
| | | | | | | | bound by default.
| * move kbfunc and mousefunc closer togetherokan2013-07-081-34/+37
| |
| * clarify kbd vs mouse functionsokan2013-07-081-16/+16
| |
| * move duplicate kbd and mouse modifier parsing to a generic function;okan2013-07-081-34/+30
| | | | | | | | from Tiago Cunha
* | cvsimportokan2013-06-231-13/+11
|\|
| * properly fix (and re-organize) selfont selection.okan2013-06-231-13/+11
| |
* | cvsimportokan2013-06-201-5/+23
|\|
| * when selfont is configured, make sure we continue and configure the restokan2013-06-201-2/+2
| | | | | | | | of the screen (quick fix); discovered the hard way by Rodrigo Mosconi.
| * move Cursors into conf.okan2013-06-171-1/+17
| |
| * allow mouse button4 and button5; from Rodrigo Mosconiokan2013-06-171-2/+4
| |
* | cvsimportChristian Neukirchen2013-05-291-91/+87
|\|
| * alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceedokan2013-05-231-39/+15
| | | | | | | | | | | | | | | | to grab keys in keybindingq. we don't need to ungrab/grab on every addition to the queue, just once with a complete keybindingq; simplify grabbing keys per screen (during init) and during a MappingNotify. while here, change conf_grab_{kbd,mouse} to require only a Window.
| * since we don't have any screens yet, there's no reason to conf_{,un}grabokan2013-05-221-3/+0
| | | | | | | | here; just build keybindingq.
| * get rid of long standing XXX: now that we configure screens based onokan2013-05-221-2/+6
| | | | | | | | config options, add the keybinding GrabKey calls here
| * move validation of pointer Button into conf_mousebind so we checkokan2013-05-221-22/+22
| | | | | | | | | | | | | | validity during the parse phase and not bother adding it to the queue, instead of each time a client needs to grab (when it's too late); furthermore, make this a config error, stop parsing and load the default config.
| * - configure menuwin with the screen, then create the xft drawable usingokan2013-05-201-5/+10
| | | | | | | | | | the menu window since that's the only place on which we draw - elminate the need to change the drawable on every font draw
| * move the rest of xft init into screen_conf, since most of it is based onokan2013-05-191-1/+8
| | | | | | | | config parameters.
| * - switch border colors to Xftokan2013-05-191-16/+31
| | | | | | | | | | | | | | | | | | - merge border/menu color structures/functions since they now both use Xft - switch xu_xorcolor to operating on XftColor instead of just XRenderColor (basically adding pixel) - if color name allocation fails, revert back to default (this, along with font validation should occur during config parse, but we don't have screens setup yet - likely to change at some point)
| * replace conf_{gap,color,font} with conf_screen since really we areokan2013-05-111-14/+6
| | | | | | | | | | configuring the screen *after* parsing, just as we do a conf_client on client manage.
| * more type fixes for mask/buttonokan2013-05-101-1/+1
| |
| * int type fixesokan2013-05-101-3/+3
| |
* | cvsimportokan2013-04-301-1/+33
|\|
| * zap extra spaceokan2013-04-171-1/+0
| |
| * add conf_ignore and move group_make_autogroup to conf_autogroup to match.okan2013-04-171-0/+33
| |
* | cvsimportokan2013-01-131-0/+4
|\|
| * add per-group vert/horiz tiling support; introduces 2 new bind commands,okan2013-01-081-0/+4
| | | | | | | | 'vtile' and 'htile'; from Alexander Polakov.
* | cvsimportokan2013-01-061-15/+19
|\|
| * really these are just border colors, so adjust the defineokan2013-01-041-3/+3
| |
| * spacingokan2013-01-041-8/+8
| |