okan
7295c51155
unroll the CCTOSC macro; from Thomas Pfaff
...
ok oga@
2009-08-27 01:38:08 +00:00
oga
8fd4ff1c7c
Instead of messing around everytime we do a resize, just clamp the
...
resize increments to a minimum of one, and use it unconditionally.
"you've convinced me, do it!" okan@
2009-08-25 01:32:40 +00:00
okan
028a1778db
bring together gathering, calculating and applying of size hints;
...
additionally, respect aspect ratio hints.
ok oga@
2009-08-24 23:49:04 +00:00
okan
bcc0f73bb6
compact a bit by condensing a few if-else's; from Thomas Pfaff
...
"go on then" oga@
2009-06-20 00:55:41 +00:00
okan
58d12134b1
unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the
...
place anyway, this makes things a bit more consistent; from Thomas Pfaff
ok oga@
2009-06-20 00:22:39 +00:00
okan
61f841ea58
re-factor parts of mouse move/resize bit to shrink and make more
...
readable; no behavior change
ok oga@
2009-06-17 12:45:01 +00:00
okan
2c29a1de65
nuke the leading underscore notation for local static functions - there
...
are far better ways to know.
"go for it" oga@
2009-05-18 00:23:35 +00:00
okan
cc68490fe1
don't sync more than 60 times per sec on resize and move; idea from scrotwm.
...
ok oga@ sometime ago
2009-04-15 14:10:07 +00:00
okan
87964e5c7e
now that pwin is gone gone gone, we no longer have to do the bwidth
...
dance; xevents now able to deal with a border being set (which fixes
those annoying movie-watching apps).
ok todd@, oga@
2009-01-22 19:01:56 +00:00
okan
ec8e6052ba
remove pwin, bringing us to one client, one window. we no longer have
...
to push attributes around, so things get a lot simplier, while fixing a
few issues in the meantime; original suggestion by Edd Barrett many many
moons ago.
annoying window placement and race, found in c2k8 by todd, fix by oga!
lots of feedback from todd and oga - thanks!
"commit that bad boy" oga@
2009-01-16 15:24:14 +00:00
okan
590169ce24
- merge grab_sweep() into mousefunc_window_resize().
...
- merge grab_drag() into mousefunc_window_move().
- properly name, proto and static private functions.
- since we already do XMoveResizeWindow() and XMoveWindow() in (now)
mousefunc_window_resize() and mousefunc_window_move() respectively,
client_resize() and client_move() calls are unnecessary.
ok oga@
2009-01-11 18:34:46 +00:00
okan
6ea4b1bd3b
no more hidden (and mysterious) config reloads and allow binding a key
...
to a config reload; CMS-r by default.
ok oga@
2008-07-11 15:18:29 +00:00
okan
b23fad3987
spacing, declaration lineup to be consistent throughout cwm,
...
readability, and a bit of knf.
ok oga@
2008-07-11 14:21:28 +00:00
oga
993fd4311f
Allow a mouse binding to hide a window, and add a default keybinding for CMS-M3,
...
so it's hard to press by accident, but there if you need it.
requested (in a way) and tested by johan and todd.
2008-06-25 22:44:42 +00:00
okan
bdcbbe7f53
confable menu and window mouse bindings from rivo nurges (thanks!) with
...
some minor fixups, man page bits and knf.
ok oga@
2008-06-14 21:48:54 +00:00