okan
147b66e3ac
move the HasXinerama check into screen_find_xinerama and simplify logic;
...
moves closer to logic in menu code.
2012-07-16 01:36:30 +00:00
okan
94b92cf7fb
re-use geom struct in client_ctx (saved)geometry.
2012-07-13 17:01:04 +00:00
okan
6ee7c6534f
convert xmax/ymax uses to view geometry.
2012-07-13 15:21:35 +00:00
okan
3f2059e461
introduce screen "view" area and "work" area (gap applied) to simplify
...
various blocks that require understanding the screen geometry.
2012-07-13 14:18:04 +00:00
okan
3ce93c9b3b
fix atom for setting WM_STATE.
2012-07-08 02:55:01 +00:00
okan
8260032aee
fix atom for retrieving WM_STATE between re-exec's.
2012-07-08 02:50:41 +00:00
okan
0ec36603b5
remove a redundant assignment and another one up.
2012-07-08 01:00:24 +00:00
okan
37bdf57a02
querying for Xinerama should be done per display, not per screen, so
...
move chuck to display init; allows some shuffling to occur limiting
screen_init_xinerama()'s scope while keeping order intact.
2012-07-06 14:18:00 +00:00
dcoppa
78655b3e88
Add a couple examples of keybindings using keysyms, as discussed
...
with okan@ and sthen@.
OK okan@, sthen@
2012-07-06 08:41:29 +00:00
okan
43b628a3d0
the display's width and height are updated after an XRandR event so we
...
don't need to pass down the new values to screen_update_geometry(); so
just read the width/height values directly for both uses of
screen_update_geometry(). prep for further changes in this area.
2012-07-05 17:35:13 +00:00
okan
e52aef56f0
assign and use screen ctx where appropriate and consistently.
2012-07-04 23:42:03 +00:00
okan
3a1ddcb19e
use the screen ctx since we already have it assigned.
2012-07-04 18:07:12 +00:00
okan
74ef1605a1
fix missing atom (WM_PROTOCOLS) wrt new style handing; without this, the
...
window manager didn't know if a client supported CLIENT_PROTO_DELETE and
thus used a hammer, XKillClient.
behaviour reported by Tim van der Molen.
2012-07-04 18:00:13 +00:00
okan
d24974f4cb
re-implement atom handing; makes for a normalized and more consistent
...
separation between cwm and ewmh. seen by a few.
2012-07-03 13:49:03 +00:00
okan
50687e789b
get rid of more stray lines/spaces
2012-05-16 21:57:21 +00:00
okan
838f6a5713
instead of using the menu window for _NET_SUPPORTING_WM_CHECK, create a
...
dummy one to use instead; allows us to not have to wait for menu_init(),
so re-shuffle _NET_SUPPORTED slightly.
ok sthen@
2012-05-16 01:17:14 +00:00
okan
61a281d1f3
fix comment
2012-05-16 01:10:11 +00:00
okan
adfd269db7
cycle through other common cycling modifiers; based on a diff from
...
Alexander Polakov.
ok sthen@
2012-05-16 01:09:17 +00:00
okan
abc316c162
convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym
...
ok sthen@
2012-05-16 01:04:36 +00:00
okan
87d3c25241
altpersist->cycling to be more clear that this is for cycling mod
...
persistence; based on a diff from Alexander Polakov, in preparation for
looping through other potential cycling modifiers.
2012-05-13 15:17:13 +00:00
okan
6dcdd18c5a
knf, some from a diff from Tiago Cunha.
2012-05-13 15:15:54 +00:00
okan
dcfe652e93
wrap long lines; from Tiago Cunha.
2012-05-10 00:39:47 +00:00
okan
41a86560b4
fix section order: move AUTHORS below HISTORY; from Tiago Cunha
...
ok jmc@
2012-05-09 18:37:39 +00:00
pascal
0bb9a6d6a1
kill useless .Pp
...
ok jmc@
2012-05-07 21:25:29 +00:00
okan
42304914dc
check if we're in the group already, else multiple calls to
...
group_movetogroup() on one client will still increment nhidden if the
group is hidden.
found the hard way by Thomas Jeunet and fix from Alexander Polakov -
thanks to both!
ok oga@
2011-12-29 20:48:38 +00:00
okan
a396addc5c
put snapdist in the correct location; as an option, not a bind; Tiago Cunha.
...
ok oga@
2011-11-06 02:03:47 +00:00
okan
6f33ccac59
rename variable to reduce potential for name-space collision.
...
bikesheding and ok oga@.
2011-10-17 18:18:38 +00:00
okan
66bb8d02da
use xfree instead of free since strings is allocated with xmalloc; from
...
dhill
ok oga@
2011-10-12 15:43:50 +00:00
okan
7a6e2b9d5a
move client to group (movetogroup) and hide client only if group is
...
already hidden (suggested behavior from Alexander Polakov).
ok sthen oga
2011-09-19 07:23:03 +00:00
okan
e18bdf5702
fix spelling I keep getting wrong for some unknown reason; found by and
...
diff from Alexander Polakov.
2011-09-13 09:17:30 +00:00
okan
5d6aec2db4
add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such to
...
the group of the main application window; based on a diff from Alexander
Polakov with CLIENT_IGNORE flag suggestion from oga@.
ok oga@
2011-09-13 08:41:57 +00:00
okan
780e9cb0df
repair groupcycle (broke after cycle-in-group support added more flags);
...
found by and fix from Thomas Pfaff.
ok oga@
2011-09-13 08:37:49 +00:00
okan
3f2d53b6dd
allow configurable menu font color; from Alexander Polakov with a tweak
...
from me.
ok oga@
2011-09-08 12:35:33 +00:00
okan
107bc37429
allow menufg/menubg to be configurable; from Alexander Polakov.
...
ok oga@
2011-09-08 12:07:03 +00:00
okan
9ab59987f7
reinit menu on reload; from Alexander Polakov. needed for catching
...
upcoming menu config changes.
ok oga@
2011-09-08 12:00:49 +00:00
okan
9dabac6117
restore a comment and add another for clarity.
2011-09-05 07:37:55 +00:00
oga
d341c2bfd8
Make flavours of maximisation additive.
...
i.e. horiz-max + vertmax = full maximisation. full - horiz = vertmax.
etc.
Martynas wrote something like this once, so I did okan, this version
seems to finally deal with the corner cases.
ok okan@.
2011-09-04 16:59:31 +00:00
okan
d1b5022611
split off window hints from geometry so we don't need to carry them all
...
around when dealing with {,h,v}max. same idea from oga.
2011-09-03 09:42:33 +00:00
okan
ed6f73250e
simplify color initialization.
...
ok oga@
2011-09-03 09:25:39 +00:00
okan
aa9dbd1dca
Add {r,}cycleingroup to cycle through clients belonging to the same
...
group as the active client (as opposed to all unhidden clients); from
Alexander Polakov, with a tiny tweak requested by oga.
ok oga@
2011-09-03 09:20:58 +00:00
okan
f93ec1eba0
"defaultfont" is unclear (and confusing while reading code) when it also
...
applies to the user supplied font, so rename.
ok oga@
2011-09-03 09:17:16 +00:00
okan
d44962b456
zap unused macro. ok oga@
2011-08-29 09:10:49 +00:00
okan
dda3ed6180
restore mouse move via the keyboard, noticed by todd@. while the check
...
for cc was wrong due to the fact that cc->sc is always filled in during
the event, we don't even need it - just operate on the focused screen's
root window regardless.
ok todd@ oga@
2011-08-29 09:09:45 +00:00
oga
af80ac7042
A while ago I wrote some code to not warp to ignored windows on map (rev
...
1.52), not realising that the previous (less efficient) fix had already
been commited (rev 1.50).
Had this in my tree for ages to remove the previous code. Effectively
reverts rev 1.50.
ok okan@
2011-08-22 16:34:34 +00:00
okan
661c8ef1c1
revert r1.11 of parse.y and create logic in conf_setup instead to deal
...
with the various scenarios of when to attempt a parse of the config,
load defaults, and when to warn and/or exit. triggered by bogus warning
first noticed by sobrado@.
ok oga@
2011-08-22 16:18:05 +00:00
okan
648d5b0b39
Re-draw borders after reloading, not before; from Alexander Polakov.
...
ok oga@
2011-07-26 08:51:24 +00:00
okan
3826753e1a
use the menu border; from Alexander Polakov, but with the existing define.
...
ok oga@
2011-07-25 15:41:05 +00:00
okan
bd65f03126
We are inconsistent when it comes to function returns, so just go all
...
the way with the cwm specific parts.
ok oga@
2011-07-25 15:10:24 +00:00
okan
24bf547e5f
Clarify defines and make them not look like non-local ones; started by a
...
small diff from Thomas Pfaff.
ok oga@
2011-07-23 13:09:11 +00:00
okan
df02d70181
correct spelling; from Alexander Polakov.
2011-07-14 11:39:53 +00:00