Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-07 | all mapped clients now should have a group, so simplify some cases | Okan Demirmen | |
2014-02-07 | If _NET_WM_DESKTOP is set to -1 during client creation, place the client into | Okan Demirmen | |
group 0 (nogroup); solves problem initially discovered by oga@nicotinebsd with tint2. A clientmessage *after* client creation already handles this case. Go further and assign every client to a group; in non-sticky mode, group 0 (nogroup) and sticky mode, the active group. In both cases, autogroup will override the group assignment. Removing a group from a client always places the client back into group 0 (nogroup). Autogroup can also assign a client to group 0 (nogroup) to keep a client always visible (unless of course one opts to hide all clients). | |||
2014-02-06 | Some clients set the urgency flag even if they are the active client; | Okan Demirmen | |
prevent annoying behavior by only setting the cwm urgency flag if the client is not active; diff from Thomas Adam. | |||
2014-02-03 | Introduce a region queue and replace screen's XineramaScreenInfo; we | Okan Demirmen | |
still use Xinerama to populate the regions per screen, but will switch at a more appropriate time. | |||
2014-02-03 | make this XQueryTree like the other | Okan Demirmen | |
2014-02-03 | Move redundant bits from screen_init (while dealing with existing | Okan Demirmen | |
clients) directly into client_init, performing the X roundtrip only once. With the previous change in maprequest, this moves decision making into one place for creating new clients. | |||
2014-02-02 | Move redundant window attr fetch from maprequest directly into | Okan Demirmen | |
client_init and perform that X roundtrip only once. | |||
2014-02-02 | No need to store screen colormap and visual; rather just use the X | Okan Demirmen | |
macros in the one place they are needed. | |||
2014-02-02 | Unlike free(3), XFree(3) can't be passed a NULL pointer. | Okan Demirmen | |
2014-02-02 | The menu already limits entries with MENU_MAXENTRY, so don't bother | Okan Demirmen | |
holding a command name limit as well. | |||
2014-02-01 | Take menu's bwidth into account for position/size; reported by Thomas Adam. | Okan Demirmen | |
2014-02-01 | Let the config parser continue parsing even after encountering an error; | Okan Demirmen | |
original idea (with now-outdated patch) from Thomas Adam. Since we now report where errors exist, this now makes more sense. Expand a bit on config file parsing in the cwm(1). Discussed with a few, including sthen; ok sthen. | |||
2014-01-30 | re-add lost free from previous | Okan Demirmen | |
2014-01-30 | Switch ignoreq to winname struct since it's basically the same thing; | Okan Demirmen | |
removes limit on name matching. | |||
2014-01-30 | use the same autogroupwin variable as everywhere else | Okan Demirmen | |
2014-01-30 | Move cwm_status around to avoid header fu, and remove extraneous signal | Okan Demirmen | |
header from xevents.c; noticed by Christian Neukirchen. | |||
2014-01-30 | Remove duplicate mouse functions and instead use the kbfunc ones. No | Okan Demirmen | |
user visable changes at this point, but they'll merge at an appropriate time. | |||
2014-01-29 | Minimize trivial differences between a few kb and mb functions. | Okan Demirmen | |
2014-01-29 | keybinding -> key binding | Okan Demirmen | |
2014-01-29 | Merge keybinding and mousebinding queues into using the same merged | Okan Demirmen | |
struct, binding; they were essentially the same accept for what was 'pressed', keysym or button. | |||
2014-01-29 | Much like we do for keyboard and mouse bindings, remove duplicates for | Okan Demirmen | |
command name - last match. | |||
2014-01-29 | Check command name/path for truncation and provide user feedback during | Okan Demirmen | |
config parse (and use conf_cmd_add to populate defaults); based on a discussion with Tiago Cunha. While this looks ugly, there are likely some other changes here to come. | |||
2014-01-28 | Check ignore windowname for truncation and provide user feedback during | Okan Demirmen | |
config parse; based on a discussion with Tiago Cunha. | |||
2014-01-28 | The EWMH spec states that if the cardinal returned is 0xFFFFFFFF (-1) | Okan Demirmen | |
then the window should appear on all desktops, which in our case is assigned to group 0. Found to fix stalonetray due to the non-ewmh aware range checking in group_movetogroup(); from Thomas Adam. | |||
2014-01-28 | Move conf_init/clear into main - no behaviour change; from Tiago Cunha. | Okan Demirmen | |
2014-01-27 | move some init up and shed some blank lines | Okan Demirmen | |
2014-01-27 | simplify parse_config using assignment; inspired by a very old diff from | Okan Demirmen | |
Tiago Cunha. | |||
2014-01-24 | more range checking | Okan Demirmen | |
2014-01-24 | correct arguments and drop the cast. | Okan Demirmen | |
sanity check by oga@nicotinebsd | |||
2014-01-23 | no need to quote within warning | Okan Demirmen | |
2014-01-23 | If no title is supplied, term uses only the basename for its title. | Okan Demirmen | |
This is useless when searching for windows launched via the ssh command menu; supply a more useful title: '[ssh] <hostname>'. Idea from todd@, ok todd@ | |||
2014-01-22 | zap whitespace | Okan Demirmen | |
2014-01-22 | cwm_argv doesn't need to be global any longer | Okan Demirmen | |
2014-01-22 | start properly releasing X resources during teardown | Okan Demirmen | |
2014-01-22 | Somewhat streamline event loop/restart/quit handling; most notable | Okan Demirmen | |
change allows a restart to trigger proper teardown first, even though teardown is not (yet) complete. After some discussion with oga@nicotinebsd.org regarding a more complicated version/idea. | |||
2014-01-21 | Sprinkle a few more const; from Tiago Cunha. | Okan Demirmen | |
2014-01-20 | Save the ptr position before lowering via kbd, so as to be able to cycle | Okan Demirmen | |
back with the pointer in the right place; matches behaviour when lowering via the mouse function. | |||
2014-01-20 | merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc | Okan Demirmen | |
bits even closer. | |||
2014-01-20 | Use argument to pass down flags for mousefunc cyclegroup; removes | Okan Demirmen | |
rcyclegroup wrapper need - now similar to kbfunc. | |||
2014-01-20 | constify and rename some confusing variables around cmdq. | Okan Demirmen | |
2014-01-20 | - remove redundant range check for buttons in conf_bind_mouse. | Okan Demirmen | |
- make conf_bind_kbd return error on non-matches to match what conf_bind_mouse does. - rename some variables while here for clarity. - constify bind and cmd. from Tiago Cunha. | |||
2014-01-20 | Add a function that adds an entry to a menuq, normalizing a common code | Okan Demirmen | |
path; from Tiago Cunha. | |||
2014-01-03 | use consistent types | Okan Demirmen | |
2014-01-03 | state is long | Okan Demirmen | |
2014-01-02 | calculate proper menu width/height on the first Expose event; 'jump' (while ↵ | Okan Demirmen | |
using gap) noticed by Christian Neukirchen | |||
2014-01-02 | Accept _NET_CURRENT_DESKTOP ClientMessage; from Thomas Adam, though | Okan Demirmen | |
instead of group toggle, group only. | |||
2014-01-02 | Accept _NET_WM_DESKTOP clientmessage; from Thomas Adam | Okan Demirmen | |
2014-01-02 | bring mousefunc closer to kbfunc | Okan Demirmen | |
2014-01-02 | gc keycode in keybinding since we only deal with keysym now | Okan Demirmen | |
2014-01-02 | rename for clarity | Okan Demirmen | |