Commit Graph

  • 97db17d056 Don't allow freeze operations on fullscreen (consistent with what fullscreen does). okan 2015-08-24 14:57:19 +0000
  • 4269ea0463 Sort _NET_WM_STATE Atoms like the spec. okan 2015-08-24 14:56:10 +0000
  • b224945446 Move CLIENT_STICKY logic from client hide/unhide to group hide/unhide; rationale being that clients should be able to hide/unhide independently of group switching. okan 2015-08-23 17:31:20 +0000
  • ae9306748b Add Xkb modifier to ignore mask; from Alexander Polakov. okan 2015-08-21 16:53:48 +0000
  • cd3bbb1c9c Fix whitespace. okan 2015-08-21 16:52:37 +0000
  • 1d31f9000c Add client freeze extension to _NET_WM_STATE Atom, allowing flag to persist. As usual with new Atoms, requires X restart. okan 2015-08-21 16:30:02 +0000
  • 05478f061e _NET_WM_STATE_STICKY implies only sticky at the group/desktop level, not position and size; based on discussion with a few. okan 2015-08-21 16:14:39 +0000
  • c96fd247dd Instead of special casing the 'term' and 'lock' commands, go back to keeping them hidden; showing them has apparently caused confusion/angst. okan 2015-08-21 16:05:55 +0000
  • a79253abdc Leave command list order from .cwmrc alone; remove sort. okan 2015-08-21 15:55:39 +0000
  • 871c9f24ba Bring group and client cycle closer together. okan 2015-08-21 15:52:49 +0000
  • 54bbd88e51 Alter big move and resize bindings to match what's in cwm(1); functionally the same, but re-binding should be based on default bindings. Matches other similiar bindings. okan 2015-08-20 14:45:15 +0000
  • c0f2d0cc75 cvsimport okan 2015-07-12 14:31:47 +0000
  • 0d13b7c220 introduce 'groupsearch' for group menu search; matches on either group number/shortcut and/or name. okan 2015-07-12 14:31:47 +0000
  • 5c2decc8d0 simplify menu print text okan 2015-07-12 14:21:09 +0000
  • 02779e64b8 revert previous; seems search_match_text() needs mi->text pre-populated. (only used in one place, application menu searching); re-visit later. okan 2015-07-03 17:11:16 +0000
  • 6716719593 cvsimport Christian Neukirchen 2015-07-01 16:38:16 +0200
  • cb900def7f style okan 2015-07-01 14:36:42 +0000
  • 8efaf33cfb no longer need to pass down format strings after introducing search_print_cmd okan 2015-06-30 19:02:24 +0000
  • 5d8027b75d Introduce a callback for cmd menu printing, special-casing 'lock' and 'term'. okan 2015-06-30 18:54:12 +0000
  • c87953eb64 keep cmdq sorted okan 2015-06-30 18:44:29 +0000
  • 6b8b856217 style and spacing nits okan 2015-06-30 18:42:50 +0000
  • 8515d717ae Re-implement XClientMessage handling so that we can feed screen_find and client_find valid resources as needed, relieving the need for screen_find to ungracefully handle invalid root windows. Removes a long standing XXX. Should theoretically allow XClientMessage handling on more than one X screen. Alter callers of screen_find to handle failures. okan 2015-06-30 14:01:43 +0000
  • 9ea5f25347 Shuffle code in kbfunc_ssh so that a missing known_hosts file still allows a (now blank) menu to appear, as opposed to nothing at all. okan 2015-06-29 14:24:40 +0000
  • e7b4045ece move client_find down okan 2015-06-28 19:54:37 +0000
  • 17720de4ab replace assert usage okan 2015-06-28 19:50:46 +0000
  • 18f63629fd region is a _ctx, so name it so okan 2015-06-26 18:54:25 +0000
  • 66bc416217 Mechanical change from xinerama to region backed areas. okan 2015-06-26 17:17:46 +0000
  • 90288e2fc3 collect 'gap' applications okan 2015-06-26 16:11:21 +0000
  • 8aa40078d1 Replace screen region info gathering with XRandR equivalent of Xinerama queries (currently act on XRandR events anyway). Fall-back mode without XRandR is still what X provides. This removes -lXinerama. okan 2015-06-26 15:21:58 +0000
  • 4454948f21 cvsimport okan 2015-06-09 13:02:15 +0000
  • ee400b08a8 typo in comment; from jsteinha [at] iutbayonne.univ-pau.fr okan 2015-06-09 13:02:15 +0000
  • 654bae4f59 just populating the ctx is enough since the menu uses a callback and ignores anything else okan 2015-06-08 15:43:13 +0000
  • e9750e2144 switch to search_print_client() as the print callback since it will now display labels as well okan 2015-06-08 15:41:27 +0000
  • 8888c44888 add client label okan 2015-06-08 15:34:03 +0000
  • 9180bb1a06 stash window dimensions okan 2015-06-08 15:11:29 +0000
  • 8653c88c90 clean up okan 2015-06-08 15:08:44 +0000
  • bd5f724931 even if the menuq is empty, at least show an empty menu instead of just bailing making it look like the binding isn't working. okan 2015-06-07 19:10:00 +0000
  • cd5827491c use the same geometry struct in menus as everywhere else okan 2015-06-05 18:43:36 +0000
  • a4cba7e113 add a flag to indicate a menu list instead of overloading 'prompt' okan 2015-06-05 15:01:51 +0000
  • f22a3b1065 redundant check for 'list' okan 2015-06-05 14:54:04 +0000
  • d9f38134be a start to cleaning: - no reason for pointer movement and window movement and resizing sections that just describe default key bindings - key bindings are for all search and exec dialogs, not just for windows - adding missing bindings - normalize and wordsmith - re-order sections according to mdoc(7) okan 2015-05-31 23:07:36 +0000
  • b1c2046efd merge kbd and mouse grouptoggle okan 2015-05-21 00:37:04 +0000
  • 31d4fe9f33 fill in mwm defines okan 2015-05-20 23:54:39 +0000
  • b9db4486da Fix autogroup so name,class doesn't need to be quoted. kspillner 2015-05-17 04:39:50 +0000
  • d328f63c7d Make window name and window class separate parameters to conf_autogroup. No functional change, but will be used shortly. kspillner 2015-05-17 04:34:01 +0000
  • 01f7364913 Merge d2f6b11125 into 7c4a8f3b51 James McDonald 2015-04-23 19:43:50 +0000
  • 7c4a8f3b51 Fix stat patch to use lstat(2) and fix logic James McDonald 2015-04-23 21:20:16 +0200
  • d2f6b11125 Fix stat patch to use lstat(2) and fix logic James McDonald 2015-04-23 21:20:16 +0200
  • 4cb6e0b17b Add an additional stat() check if a d_type check fails for kbfunc_exec lookups James McDonald 2015-04-12 10:32:24 +0200
  • 7665352483 Merge f34f960492 into da1021c60c James McDonald 2015-04-12 08:36:54 +0000
  • f34f960492 Add an additional stat() check if a d_type check fails for kbfunc_exec lookups James McDonald 2015-04-12 10:32:24 +0200
  • da1021c60c queue.h: update. Christian Neukirchen 2015-04-06 19:47:04 +0200
  • ffbfc32999 add reallocarray.c Christian Neukirchen 2015-03-29 18:12:47 +0200
  • bc21e4aa37 cvsimport okan 2015-03-29 00:21:05 +0000
  • 557cd382dc plug a leak okan 2015-03-29 00:21:05 +0000
  • a4a414b68b Introduce a xreallocarray and convert a few xcalloc instances that do not require zero'ing. okan 2015-03-28 23:12:47 +0000
  • 0bbe0ad98c Reshuffle and slightly simplify menu_complete_path(), removing an allocation, for tab-completion; checked by Alexander Polakov as well. okan 2015-03-28 22:09:10 +0000
  • 5b64e1540c plug a leak okan 2015-03-28 21:55:48 +0000
  • bad97699f9 Simplify key/mb binding moving argtype into flags and dropping another variable; removes the need to zero out struct binding, leaving a simple malloc. okan 2015-03-26 21:41:43 +0000
  • ac42dff6c1 simplify error messages; discussed with doug@ okan 2015-02-14 18:24:12 +0000
  • 668da8493a cvsimport Christian Neukirchen 2015-02-11 14:20:35 +0000
  • 81c05b3a51 Merge pull request #8 from afh/pull/macosx Christian Neukirchen 2015-02-11 15:19:03 +0100
  • 9cfb9225ed Use _POSIX_HOST_NAME_MAX Alexis Hildebrandt 2015-02-11 15:11:43 +0100
  • b2d0194f16 Merge bcc4f43932 into 976d77c76d Dimitri Sokolyuk 2015-01-29 18:59:16 +0000
  • bcc4f43932 Add SSH terminal colorization Dimitri Sokolyuk 2015-01-29 19:37:22 +0100
  • 7e0c2e7728 calloc -> malloc okan 2015-01-24 18:16:59 +0000
  • 976d77c76d update imported str*.c Christian Neukirchen 2015-01-24 19:04:46 +0100
  • b7a8c11750 update README v5.6 Christian Neukirchen 2015-01-24 18:31:20 +0100
  • e4ccad30ce cvsimport Christian Neukirchen 2015-01-24 17:03:58 +0000
  • d8fa58bb62 use malloc over calloc here okan 2015-01-23 20:26:36 +0000
  • 5146f661bd First restore net_wm_state(ewmh), then wm_state(iccc); prevents clients from re-hiding on restart due to flag toggling (note that this is ripe for re-vamping). Behavior only observed on restarts. okan 2015-01-23 19:35:11 +0000
  • 742732a1c8 cvsimport Christian Neukirchen 2015-01-22 11:06:01 +0100
  • 7936b9b2a7 Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX and HOST_NAME_MAX+1, respectively. okan 2015-01-19 14:54:16 +0000
  • c412f040df Catch up with src parse.y changes by jsg@: okan 2015-01-17 02:05:03 +0000
  • 8d1eb202bf Add gcc format attributes for yyerror(); fix a few yyerror() calls. okan 2015-01-16 18:28:08 +0000
  • 089ec389dd also sign releases with signify Christian Neukirchen 2014-11-23 16:45:46 +0100
  • 56fad8271d Fix reference to OpenBSD's CVS repo web interface Daniel Néri 2014-12-15 15:51:15 +0100
  • 501aa2bcf3 cvsimport okan 2014-10-08 15:31:01 +0000
  • 9cada703b9 no need for calloc(1,.. here, malloc is fine since we initialize okan 2014-10-08 15:31:01 +0000
  • 836c9f49d6 make group_init work like other *_init's okan 2014-10-08 12:48:51 +0000
  • c700f7e19a cvsimport okan 2014-09-27 19:04:32 +0000
  • e9dbd150ea these have nothing to do with 'sticky', but rather group membership; rename. okan 2014-09-27 19:04:32 +0000
  • 319d90099d Pass just the group to group_setactive instead of the screen and an index which then needed to be found in a queue. okan 2014-09-27 18:57:11 +0000
  • 845e82015c Update _NET_CURRENT_DESKTOP with the screen's group_active->num. okan 2014-09-23 14:25:08 +0000
  • cb65869d7a Move stuff that doesn't belong in group_init; while here, explicitly initialize hideall and cycling. okan 2014-09-23 13:45:48 +0000
  • 2540b3f4fe cvsimport okan 2014-09-18 13:56:58 +0000
  • cbc7f76074 Move motion time check to the top of each MotionNotify block (and eliminate from ButtonRelease); further limits the amount of work done outside the threshold, notably mousefunc_sweep_calc, screen_find_xinerama and client_snapcalc. okan 2014-09-18 13:56:58 +0000
  • 8fd0f43ec2 these client actions are just toggles; less confusing with better names okan 2014-09-17 18:41:44 +0000
  • 458dd31b93 ewmh states _NET_WM_STATE_STICKY should not alter position okan 2014-09-17 18:09:30 +0000
  • 736d973f46 Use a similarly named check as sticky for hidden check in a group. okan 2014-09-17 16:32:53 +0000
  • 7eef4eb63d don't toggle _WM_STATE_HIDDEN here yet okan 2014-09-17 16:30:21 +0000
  • a61812d52d Implement EWMH _NET_WM_STATE_HIDDEN. okan 2014-09-17 16:00:44 +0000
  • 74f4a1bad9 Introduce a check to see if a group holds only 'sticky' clients and use this check to decide if a group is virtually empty. Rationale: if a group contains *only* 'sticky' clients, it should be skipped while cycling through groups. Apply similar logic to the group menu. okan 2014-09-17 14:31:37 +0000
  • 4b6dc96398 use similiar style for client flags okan 2014-09-15 13:00:49 +0000
  • 26b95de019 Remove incorrect cast in kbfunc_exec. In kbfunc_ssh, reverse logic on truncation check so it's obvious. okan 2014-09-11 16:06:26 +0000
  • d27fc99784 fold in 'active' into 'flags' okan 2014-09-10 20:30:38 +0000
  • 20c1113fdd move the check for an empty queue up during cycle okan 2014-09-08 21:24:27 +0000
  • aac16013d2 name the group client queue appropriately, like other queues okan 2014-09-08 21:15:14 +0000
  • b64ce8558c more style nits and wrapping okan 2014-09-08 20:37:02 +0000
  • bc70374264 since mruq has been folded in, rename mru-named functions okan 2014-09-08 20:32:40 +0000