summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows anyokan2014-08-258-3/+47
| | | | | | | | | | | | | | client to 'stick' to all desktops (ewmh speak) or groups - this currently has the same affect as setting a client's group to 'nogroup', with the exception that the client can also be in a group, so when un-sticking, the client will go back to its original group/desktop.
| * Continue effort to bring keyboard and mouse functions together; mergeokan2014-08-241-30/+20
| | | | | | | | name_to_kbfunc and name_to_mousefunc.
| * gc->hidden has never consistently kept track of a group's state;okan2014-08-243-32/+18
| | | | | | | | | | | | | | | | | | | | group_show() and group_hide() are not the only ways a group can change state - if all clients in a group are either hidden or unhidden, then that group's state should change, as well as the various EWMH ways. Instead of trying to keep track in a wide variety of places, simply query the clients in a group before needing to take action based on the group's state. Solves long standing confusion of when a group is hidden or not.
| * Fix nogroup regression, where nogroup became an actual group - theokan2014-08-224-15/+18
| | | | | | | | | | | | | | | | | | | | 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.
| * Purely mechanical; unify 'num', 'no' and 'shortcut'.okan2014-08-208-31/+30
| |
| * Split off group window restacking.okan2014-08-201-4/+15
| |
| * whitespaceokan2014-08-201-1/+1
| |
| * fix a misleading comment and function nameokan2014-08-201-5/+5
| |
| * Remove unnecessary memset since reload was replaced with restart;okan2014-08-191-2/+0
| | | | | | | | from Kent Spillner.
| * Pull highstack from group_ctx (and useless calculations of); in the oneokan2014-08-192-17/+9
| | | | | | | | | | place that we use highstack, replace that usage with a local variable (for now until stacking is done properly).
| * Get rid of nhidden in group_ctx; it actually never reported correctlyokan2014-08-182-8/+5
| | | | | | | | | | | | | | since nhidden wasn't incremented nor decremeted in all the right places, thus confusing matters. We don't need to carry a count around, so just use a local variable in the one place we need one to supply XRestackWindows().
* | README: mention OS XChristian Neukirchen2014-06-231-1/+1
| | | | | | | | Thanks to Alexis Hildebrandt for testing.
* | Don't use included strlcpy/strlcat when already defined as macrosChristian Neukirchen2014-06-223-5/+20
| | | | | | | | | | | | | | | | | | | | OS X 10.9 with Fortify has conflicting prototypes: In file included from calmwm.c:36: ./calmwm.h:28:8: error: conflicting types for '__builtin___strlcat_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
* | cvsimportokan2014-04-211-0/+1
|\|
| * plug memleak (currently unused func); from Tiago Cunhaokan2014-04-211-0/+1
| |
* | Make PREFIX, MANPATH and CFLAGS optional variablesChristian Neukirchen2014-03-211-3/+3
| | | | | | | | | | | | | | | | | | This change will make it possible to override PREFIX, MANPATH and CFLAGS using environment variables. This makes the Makefile a little more flexible, benefiting both endusers and those porting to package systems like FreeBSD Ports and pkgsrc. By braakvaak@aol.com.
* | builds on FreeBSD tooChristian Neukirchen2014-03-141-1/+2
| |
* | Makefile: add sign actionChristian Neukirchen2014-03-131-0/+4
| |
* | Version 5.5 v5.5Christian Neukirchen2014-03-131-2/+66
| |
* | cvsimportokan2014-02-271-1/+1
|\|
| * Alignment fix; found the hard way on sparc64 by landry@ (and thanks toookan2014-02-271-1/+1
| | | | | | | | | | | | for fast access to a box!) ok deraadt@, matthieu@
* | remove TAILQ_END and __dead hacksChristian Neukirchen2014-02-232-9/+3
| |
* | cvsimportokan2014-02-087-52/+40
|\|
| * Make sure we cycle through existing client's group membership and setokan2014-02-083-0/+11
| |\ | | | | | | | | | | | | the hidden state on the group; important to know group hidden state after a re-exec or restart of cwm (as easily seen in group menu).
| | * Initial import of cwm-3. cwmbernd2007-04-270-0/+0
| | | | | | | | | | | | tested by sturm@, ok matthieu@
| * | Replace a few hand rolled loops with like tailq loops.okan2014-02-081-16/+12
| | |
| * | all mapped clients now should have a group, so simplify some casesokan2014-02-073-7/+3
| | |
| * | If _NET_WM_DESKTOP is set to -1 during client creation, place the client intookan2014-02-071-28/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | Some clients set the urgency flag even if they are the active client;okan2014-02-061-1/+2
| | | | | | | | | | | | | | | prevent annoying behavior by only setting the cwm urgency flag if the client is not active; diff from Thomas Adam.
* | | cvsimportokan2014-02-034-51/+61
|\| |
| * | Introduce a region queue and replace screen's XineramaScreenInfo; weokan2014-02-032-24/+34
| | | | | | | | | | | | | | | still use Xinerama to populate the regions per screen, but will switch at a more appropriate time.
| * | make this XQueryTree like the otherokan2014-02-031-12/+10
| | |
| * | Move redundant bits from screen_init (while dealing with existingokan2014-02-034-15/+17
| | | | | | | | | | | | | | | | | | 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.
* | | cvsimportokan2014-02-027-31/+28
|\| |
| * | Move redundant window attr fetch from maprequest directly intookan2014-02-022-7/+7
| | | | | | | | | | | | client_init and perform that X roundtrip only once.
| * | No need to store screen colormap and visual; rather just use the Xokan2014-02-024-11/+9
| | | | | | | | | | | | macros in the one place they are needed.
| * | Unlike free(3), XFree(3) can't be passed a NULL pointer.okan2014-02-021-2/+2
| | |
| * | The menu already limits entries with MENU_MAXENTRY, so don't botherokan2014-02-022-9/+8
| | | | | | | | | | | | holding a command name limit as well.
| * | Take menu's bwidth into account for position/size; reported by Thomas Adam.okan2014-02-011-2/+2
| | |
* | | cvsimportokan2014-02-012-11/+18
|\| |
| * | Let the config parser continue parsing even after encountering an error;okan2014-02-012-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | cvsimportokan2014-01-306-78/+30
|\| |
| * | re-add lost free from previousokan2014-01-301-0/+1
| | |
| * | Switch ignoreq to winname struct since it's basically the same thing;okan2014-01-303-33/+17
| | | | | | | | | | | | removes limit on name matching.
| * | use the same autogroupwin variable as everywhere elseokan2014-01-301-11/+11
| | |
| * | Move cwm_status around to avoid header fu, and remove extraneous signalokan2014-01-303-10/+2
| | | | | | | | | | | | header from xevents.c; noticed by Christian Neukirchen.
| * | Remove duplicate mouse functions and instead use the kbfunc ones. Nookan2014-01-301-25/+0
| | | | | | | | | | | | | | | user visable changes at this point, but they'll merge at an appropriate time.
* | | cvsimportokan2014-01-297-75/+99
|\| |
| * | Minimize trivial differences between a few kb and mb functions.okan2014-01-294-10/+9
| | |
| * | keybinding -> key bindingokan2014-01-291-7/+7
| | |