Christian Neukirchen
6716719593
cvsimport
2015-07-01 16:40:15 +02:00
okan
8efaf33cfb
no longer need to pass down format strings after introducing search_print_cmd
2015-06-30 19:02:24 +00:00
okan
5d8027b75d
Introduce a callback for cmd menu printing, special-casing 'lock' and
...
'term'.
2015-06-30 18:54:12 +00:00
okan
66bc416217
Mechanical change from xinerama to region backed areas.
2015-06-26 17:17:46 +00:00
okan
4454948f21
cvsimport
2015-06-09 13:02:15 +00:00
okan
e9750e2144
switch to search_print_client() as the print callback since it will now display labels as well
2015-06-08 15:41:27 +00:00
okan
9180bb1a06
stash window dimensions
2015-06-08 15:11:29 +00:00
okan
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.
2015-06-07 19:10:00 +00:00
okan
a4cba7e113
add a flag to indicate a menu list instead of overloading 'prompt'
2015-06-05 15:01:51 +00:00
okan
b1c2046efd
merge kbd and mouse grouptoggle
2015-05-21 00:37:04 +00:00
Christian Neukirchen
742732a1c8
cvsimport
2015-01-22 11:06:01 +01:00
okan
7936b9b2a7
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
...
and HOST_NAME_MAX+1, respectively.
ok doug@
2015-01-19 14:54:16 +00:00
okan
c700f7e19a
cvsimport
2014-09-27 19:04:32 +00:00
okan
e9dbd150ea
these have nothing to do with 'sticky', but rather group membership; rename.
2014-09-27 19:04:32 +00:00
okan
2540b3f4fe
cvsimport
2014-09-18 13:56:58 +00:00
okan
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.
2014-09-18 13:56:58 +00:00
okan
458dd31b93
ewmh states _NET_WM_STATE_STICKY should not alter position
2014-09-17 18:09:30 +00:00
okan
736d973f46
Use a similarly named check as sticky for hidden check in a group.
2014-09-17 16:32:53 +00:00
okan
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.
Based on an idea from phessler@, who also tested another version.
2014-09-17 14:31:37 +00:00
okan
aac16013d2
name the group client queue appropriately, like other queues
2014-09-08 21:15:14 +00:00
okan
26ba152692
Remove duplicate client queue (mruq); instead, remove and take the
...
global Clientq and place it inside screen_ctx since every client belongs
to a screen, then use the same per screen clientq to track stacking
order (the sole reason for mruq).
2014-09-08 20:11:22 +00:00
okan
a7f3f29ea9
Now that a group knows its screen, only pass down the group_ctx.
2014-09-08 13:51:29 +00:00
Christian Neukirchen
9e560bd745
cvsimport
2014-09-07 15:47:44 +00:00
okan
142f52a0aa
Rework group names: stash the group name inside the group_ctx as opposed
...
to having to manage an array outside in screen_ctx for group names and
shortcuts. Simplifies (and moves bits for) reading, and constructing
data for, EWMH's _NET_DESKTOP_NAMES.
2014-09-06 16:08:58 +00:00
okan
87d604f119
bring menu bits closer together
2014-09-02 14:08:39 +00:00
okan
231abb818a
add explicit paran and drop some empty lines bringing like functions closer
2014-09-01 18:17:32 +00:00
okan
becc7f260c
Merge group_menu into mousefunc_menu_group.
2014-09-01 18:04:58 +00:00
okan
fe533fdc8e
Fix nogroup regression, where nogroup became an actual group - the
...
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.
2014-08-22 19:04:00 +00:00
okan
b31b09dfc2
Purely mechanical; unify 'num', 'no' and 'shortcut'.
2014-08-20 15:15:29 +00:00
okan
8ddc90665e
cvsimport
2014-02-08 02:49:30 +00:00
okan
2a87320bbf
all mapped clients now should have a group, so simplify some cases
2014-02-07 21:59:56 +00:00
okan
24f9bfb3ec
cvsimport
2014-01-30 22:41:16 +00:00
okan
7b5b7cc9e9
Remove duplicate mouse functions and instead use the kbfunc ones. No
...
user visable changes at this point, but they'll merge at an appropriate
time.
2014-01-30 14:40:21 +00:00
okan
1fd3fc4997
cvsimport
2014-01-29 22:30:00 +00:00
okan
2be890489b
Minimize trivial differences between a few kb and mb functions.
2014-01-29 22:30:00 +00:00
okan
371902b3c9
cvsimport
2014-01-21 15:42:44 +00:00
okan
34f43e3f2d
Use argument to pass down flags for mousefunc cyclegroup; removes
...
rcyclegroup wrapper need - now similar to kbfunc.
2014-01-20 22:31:53 +00:00
okan
d91571c567
constify and rename some confusing variables around cmdq.
2014-01-20 21:34:32 +00:00
okan
720b5452aa
Add a function that adds an entry to a menuq, normalizing a common code
...
path; from Tiago Cunha.
2014-01-20 18:58:03 +00:00
okan
f4c289b9e6
cvsimport
2014-01-03 14:23:50 +00:00
okan
10d4dcb127
bring mousefunc closer to kbfunc
2014-01-02 21:30:20 +00:00
okan
75b69c0b04
cvsimport
2013-12-13 22:39:13 +00:00
okan
f98f4615c0
Teach screen_find_xinerama() to apply gap only when told to do so;
...
adjust callers. Needed for an upcoming feature.
2013-12-13 22:39:13 +00:00
okan
5732b65139
Instead of using work area, use the Xinerama area for snap calculations;
...
based on a patch from Thomas Adam with appropriate adjustments for gap.
2013-12-13 21:51:56 +00:00
Christian Neukirchen
0cad4ef6e0
cvsimport
2013-12-13 12:57:57 +00:00
okan
fe177b7c61
Make sure we really take work area gap into account with snap calculations;
...
from Dominik Honnef via Christian Neukirchen.
2013-12-12 21:50:50 +00:00
okan
2951979832
cvsimport
2013-12-08 13:51:38 +00:00
okan
7fad5224d4
If not using sticky mode (the default), clients aren't automagically
...
assigned a group, thus cc->group will be NULL - fix the client group
shortcut in menu lists; crash reported by Christian Neukirchen.
2013-12-08 13:51:38 +00:00
okan
873763f4c6
cvsimport
2013-12-02 20:01:19 +00:00
okan
d1b232fe81
Prepend the group shortcut in the client search menu; from Thomas Adam.
...
Likewise, prepend shortcut in unhide menu.
2013-12-02 19:30:27 +00:00