Commit Graph

968 Commits

Author SHA1 Message Date
Kris Maglione
fc014f101c Zero srv in case it isn't (this shouldn't happen) 2006-06-08 10:46:01 -04:00
Anselm R. Garbe
643a3f14f6 s/n > i - 1/n >= i/ 2006-06-08 13:16:24 +02:00
Anselm R. Garbe
e9b5f193bf fixed typo in newcolw_of_view() 2006-06-08 13:14:33 +02:00
Kris Maglione
88d1c80edb Fixed closing first column bug; updated cext_assert to abort() rather than exit(1) 2006-06-08 07:01:33 -04:00
Anselm R. Garbe
fdd8935f59 fixed stacked scaling 2006-06-08 11:12:09 +02:00
Anselm R. Garbe
f72c098ecf merged Kris' changes 2006-06-08 10:54:19 +02:00
Anselm R. Garbe
91b4c6048c simplified assign_sel_view 2006-06-07 19:20:41 +02:00
Anselm R. Garbe
fd122b4a05 fixed colorization of new labels in the bar 2006-06-07 19:19:16 +02:00
Anselm R. Garbe
83f184dad7 applied Kris' idea to drop .0 suffixes in WMII_ADDRESS, removed internal labels, introduced several *Tag events, needs polishing 2006-06-06 21:10:30 +02:00
Anselm R. Garbe
67c8bc998a fixed mouse-based movements (was broken due wrong pt-assignements in do_mouse_resize and a wrong parameter in drop_move for new_column) 2006-06-06 18:56:31 +02:00
Kris Maglione
553a21620d Fixed a < that should have been <= 2006-06-05 16:20:31 -04:00
Kris Maglione
f2e1716ca1 Restructure of arguments in snapping code for better performance in tight loop 2006-06-05 16:01:31 -04:00
Kris Maglione
cb5b285aa1 Add increment handling to drag/resize. Moved draw_xor_border to fix flicker. 2006-06-04 23:47:09 -04:00
Kris Maglione
fa51a2261b Update client.c to take advantage of BlitzAlign masks 2006-06-04 23:02:08 -04:00
Kris Maglione
a973cfc33d Removed useless goto 2006-06-02 01:13:23 -04:00
Anselm R. Garbe
6655ed568c thx to keiss (silently replacing the snap) 2006-05-31 21:55:51 +02:00
Anselm R. Garbe
25a7fc9216 /def/colrule now uses 30+40+20+10 syntax (num of + + 1 means num of columns, the sum must be 100, which is used for new columns), renamed /def/rules into /def/tagrules, renamed /def/ncol into /def/colrules 2006-05-31 19:48:44 +02:00
Kris Maglione
ee0dda3606 Return the mouse pointer after warping it to move/resize. Fair's fair. 2006-05-31 13:33:54 -04:00
Anselm R. Garbe
eeb62d2041 allowing size hints for /def/ncol (next push will rename /def/rules into /def/tagrules and /def/ncol into /def/colrules) 2006-05-31 19:13:21 +02:00
Kris Maglione
97495656b0 More move/resize fixes. 2006-05-31 13:01:00 -04:00
Anselm R. Garbe
3db422a5d4 removed unused vars 2006-05-31 17:53:05 +02:00
Kris Maglione
63f0541bf7 I really need sleep... same bugfix again 2006-05-31 11:51:07 -04:00
Kris Maglione
c65fdf160f Bugfix for mouse move/resize enhancements 2006-05-31 11:49:18 -04:00
Anselm R. Garbe
fb51980487 reverting Kris' changes 2006-05-31 17:21:52 +02:00
Anselm R. Garbe
bb0ad4f232 merged 2006-05-31 17:00:32 +02:00
Kris Maglione
de47e4cbe4 Enhancements/fixes to mouse-based moves/resizals 2006-05-31 10:54:28 -04:00
Anselm R. Garbe
9b5e93ba53 fixed issue reported by Maxi, reverted to /tmp/ns.$USER.$DISPLAY/wmii socket file 2006-05-31 16:34:48 +02:00
Anselm R. Garbe
05dd0d2a29 fixed indentation issues in Kris' code 2006-05-31 16:22:56 +02:00
Kris Maglione
1ecc5bbfc7 Added copyright information to mouse.c 2006-05-31 05:38:54 -04:00
Anselm R. Garbe
76c3e814ec removed 5 unnecessary lines 2006-05-31 10:32:27 +02:00
Kris Maglione
45507b607c Fixed windows snapping to the screen edge 2006-05-31 04:12:40 -04:00
Anselm R. Garbe
4904a19aae added /def/ncol stuff, see wmiirc for an initial syntax proposal 2006-05-31 09:51:40 +02:00
bsdaemon
d2a9e3a860 Rewrote window snapping code 2006-05-31 02:47:07 -04:00
Anselm R. Garbe
bfa0c759f4 some more changes, still unfinished (/me has to run now) 2006-05-30 19:13:33 +02:00
Anselm R. Garbe
e01ca2506a moved client-related stuff from rule.c to client.c 2006-05-30 18:42:42 +02:00
Anselm R. Garbe
15dfca474f removed /def/col{width,mode}, added /def/ncol instead, though /def/ncol has no effect atm 2006-05-30 18:28:05 +02:00
Anselm R. Garbe
cdc57ca2fd /foo/ -> ~+!+max rules now working fine, also renamed /client/X/class into /client/X/props, props syntax is now class:instance:name 2006-05-30 16:32:28 +02:00
Anselm R. Garbe
8a89f37797 merged 2006-05-30 11:14:08 +02:00
Anselm R. Garbe
2d6a829fe7 fixed rects_of_view 2006-05-30 11:13:32 +02:00
Sander van Dijk
eea176d0b5 make mousebased newcol creation dependant on pointer position rather than on % of client off screen (<=5 pixels from the side of the screen makes a new column) 2006-05-29 22:08:04 +00:00
Sander van Dijk
eb022b2613 update c->floating on clientfocus 2006-05-29 22:00:16 +00:00
Sander van Dijk
01a0796d65 change c->floating to !aidx in some places, fixes some stuff with fixed size apps 2006-05-29 19:38:02 +00:00
Anselm R. Garbe
ff7b72fe21 fixed bug reported by bogon (just curios that wmii didn't crashed) 2006-05-29 15:25:32 +02:00
Anselm R. Garbe
f4f392d29f combining smart placement strategy with snap_move in the the end (I dont want backport this) 2006-05-29 14:31:40 +02:00
Anselm R. Garbe
b8e17113d0 trim / from tags 2006-05-29 14:19:20 +02:00
Anselm R. Garbe
d3e24f818e switching back to server grabb'ed resizals (the other approach is too retarded) 2006-05-29 14:15:16 +02:00
Anselm R. Garbe
7eb5eb7f5d fixed the issue reported by tkoskine with sscanf 2006-05-29 12:48:21 +02:00
Anselm R. Garbe
41ae6bfe56 removed strtonum interface, using strtol+errno instead 2006-05-29 11:36:59 +02:00
Anselm R. Garbe
a52993c532 merged 2006-05-29 11:18:35 +02:00
Anselm R. Garbe
701f2a4414 removed parse_mvresize* crap 2006-05-29 11:18:18 +02:00
Georg Neis
3463666df2 resurrected OLD_PATH 2006-05-29 11:08:21 +02:00
Anselm R. Garbe
f7395c3d73 using opaque windows on resize/move, this allows to not grab the server 2006-05-29 11:04:29 +02:00
Anselm R. Garbe
c6bde2e403 also drawing empty bar 2006-05-29 10:08:29 +02:00
Anselm R. Garbe
0c1060ee1c small fix 2006-05-29 09:55:20 +02:00
Anselm R. Garbe
4d5ad01a01 removed snap-to-border for managed mode 2006-05-29 09:50:11 +02:00
Georg Neis
cf7154d6f3 exit if mktemp fails 2006-05-28 14:15:10 +02:00
Sander van Dijk
72e08cc61f fix fixed size apps resize attemp annoyances (same as in wmii-3 repo) 2006-05-27 17:56:22 +00:00
Sander van Dijk
54e19dc283 simplification in match_sizehints, remove some obsolete code 2006-05-26 19:15:04 +00:00
Georg Neis
4765e836e8 updated colors in wmiimenu.1 2006-05-26 16:55:40 +02:00
Georg Neis
a0016f176c small update of wmii.1 2006-05-26 16:47:57 +02:00
Anselm R. Garbe
db2e58388f off-by-one fixes by Chris King (I'm a moron) 2006-05-26 15:41:23 +02:00
Anselm R. Garbe
30c48b79e4 fixed match_sizehints (now frame-dependend) 2006-05-26 14:29:04 +02:00
Anselm R. Garbe
1e4b2bb061 removed crappy blitz_strtorect, added move/size commands for client ctl, cleaned up liblitz/geometry somewhat 2006-05-26 14:16:19 +02:00
Sander van Dijk
ef672bf5fe simplification in match_sizehints 2006-05-25 16:53:09 +00:00
Anselm R. Garbe
b195664857 multihead issue fix also in -current 2006-05-25 13:49:32 +02:00
Anselm R. Garbe
41c1fb40f0 updated man page 2006-05-25 13:21:07 +02:00
Anselm R. Garbe
4189258700 using unpredictable wmii address and wmiirc' proglist due to mktemp (prevents some security concerns) 2006-05-25 13:17:17 +02:00
Anselm R. Garbe
562c598f03 added index file for column reverse addressing 2006-05-25 12:47:13 +02:00
Anselm R. Garbe
156746344e removed /tags, removed /<view>, using /tag/<view>/ instead with /tag/sel instead of /view/ 2006-05-24 18:12:55 +02:00
Anselm R. Garbe
2ba3598def fixed gualteri's bug report 2006-05-24 09:26:08 +02:00
Sander van Dijk
ee426b3676 fixedsize size resetting on attach to floating layer (same is in wmii-3 repo) 2006-05-23 20:14:08 +00:00
Sander van Dijk
4e3666abdd small change to fixedsize handling 2006-05-23 19:08:24 +00:00
Anselm R. Garbe
443843bfc6 fixed bug reported by John Galt 2006-05-23 18:51:16 +02:00
Anselm R. Garbe
13055ca087 allowing empty views, treating 'nil'-view specially 2006-05-23 16:56:43 +02:00
Anselm R. Garbe
9d34f12320 some change in tip 2006-05-23 08:25:13 +02:00
Sander van Dijk
903d558f08 start fixed-size-requesting apps on the floating layer (even though they are still resizable for now, at least they'll start with their wanted size) 2006-05-22 20:35:20 +00:00
Anselm R. Garbe
1f0f42420c added newcol action for client ctls (takes next/prev argument), I didn't changed move 2006-05-21 19:21:37 +02:00
Anselm R. Garbe
a9e9456f42 removed the insert_* insanity, added cext_vattachat instead 2006-05-21 18:43:41 +02:00
Anselm R. Garbe
1ee2585062 removed focuscolors again (unnecessary bloat) 2006-05-19 20:14:06 +02:00
Anselm R. Garbe
657ff52958 fixed bug reported by leknaat in wmii-4 2006-05-19 18:52:24 +02:00
Anselm R. Garbe
7324531047 added focuscolors (three color tuples now, which indicate focus and selection state) 2006-05-19 18:14:31 +02:00
Anselm R. Garbe
fa43df527d removed swapping 2006-05-19 17:38:45 +02:00
Sander van Dijk
108897b4ab remove unnecessary wmiisetsid calls (they are only confusing) 2006-05-17 19:09:14 +00:00
Sander van Dijk
ad1799b113 a couple of small changes:
wmiisetsid - "-v" only works if it's the first argument; make this more obvious from the usage() output.
wmiiwm.1 - some (very) tiny improvements.
2006-05-17 18:35:04 +00:00
Anselm R. Garbe
942904f7f5 fixed a bug on dir creation caused with 9p2000.ko 2006-05-17 16:47:26 +02:00
Anselm R. Garbe
ee466c60d1 fixed 9P issues with styx reported on the list 2006-05-17 10:36:56 +02:00
Sander van Dijk
cd282d75c1 small spelling correction 2006-05-16 20:28:59 +00:00
Sander van Dijk
af6355b8af some changes to the manpages 2006-05-16 20:18:27 +00:00
Anselm R. Garbe
c5f6588b99 I think this fixes the Gaim issue 2006-05-16 17:43:19 +02:00
Sander van Dijk
d6d060cf95 use wmiisetsid in some more places, just to be sure... 2006-05-15 23:33:24 +00:00
Anselm R. Garbe
13d27ace6d important fix for broken move prev 2006-05-15 18:01:37 +02:00
Anselm R. Garbe
049fa9e0c0 several small fixes 2006-05-14 17:27:00 +02:00
Anselm R. Garbe
4552ece65f fixed issue that mathematica crashed the WM (might also be related to other clients) 2006-05-13 21:15:44 +02:00
Anselm R. Garbe
cc42308990 making class/inst handling more robust against borken clients 2006-05-13 17:23:54 +02:00
Anselm R. Garbe
2edb2598e2 small cosmetic 2006-05-13 14:19:25 +02:00
Anselm R. Garbe
23394a922f respect client supplied floating positons, updated TODO 2006-05-13 12:21:41 +02:00
Anselm R. Garbe
a5dba00dc5 now seems fixed 2006-05-12 23:16:45 +02:00
Anselm R. Garbe
bf32fb23a6 if that is not fixed now, I eat a freezer 2006-05-12 21:17:03 +02:00
Anselm R. Garbe
8179f185dc small simplification 2006-05-12 20:49:46 +02:00
Anselm R. Garbe
ac9f54847f Sander, please check again ;) 2006-05-12 20:34:19 +02:00
Anselm R. Garbe
308405cc11 hopefully this fixes Sanders annoyances 2006-05-12 20:06:06 +02:00
Anselm R. Garbe
776bd2fd2b introduced Xi18n* function macros which are substituted regarding if X_UTF8_STRING is present to Xutf8* counterparts, otherwise to Xmb* counterparts 2006-05-10 15:33:53 +02:00
Anselm R. Garbe
9fdc055800 small stylistic changes 2006-05-10 15:24:09 +02:00
Anselm R. Garbe
b59dee84cf adding XPending checks before pointer grabs 2006-05-10 14:05:48 +02:00
Anselm R. Garbe
7509382a8c fixed issue on column mode change reported by Sander 2006-05-10 13:57:09 +02:00
Anselm R. Garbe
c8a5beaf86 improved UTF8-usage due to X_HAVE_UTF8_STRING checks 2006-05-10 13:38:01 +02:00
Sander van Dijk
f754b18164 style update to previous patch 2006-05-09 22:16:43 +00:00
Sander van Dijk
622576bed6 prevent some useless column destroy&recreate stuff 2006-05-09 22:07:50 +00:00
Sander van Dijk
ff9c005c03 prevent some unneeded redraws 2006-05-09 19:08:07 +00:00
Anselm R. Garbe
84e4a54ad1 small fix in select_area 2006-05-09 17:30:41 +02:00
Anselm R. Garbe
3cb5c834c0 keyboard and new client attachments are made now right after the focused client, several client drawing fixes (to prevent funny artefacts) 2006-05-09 12:37:13 +02:00
Anselm R. Garbe
1d61ace264 finished open issues reported by Sander 2006-05-09 00:16:12 +02:00
Anselm R. Garbe
2cd180543c merged 2006-05-08 20:12:48 +02:00
Sander van Dijk
7b8e9aa512 fix a redraw issue (on mousefocus of a client in an area, that area's prevsel client's has to be redrawn too) 2006-05-08 19:44:56 +00:00
Anselm R. Garbe
64a8931b13 some drop_move related changes, still not finished with issues 2006-05-08 20:06:36 +02:00
Anselm R. Garbe
e02d9ae205 several cleanups 2006-05-07 23:58:06 +02:00
Anselm R. Garbe
f210f90702 implemented new client drawing code which makes it easy to recognize the focused client in an unfocused column 2006-05-07 23:29:04 +02:00
Sander van Dijk
94a8bd0c3c trim whitespace from tags before validating them, fixes the issue seen when trying to tag a client with a whitespace only tag 2006-05-07 19:56:05 +00:00
Sander van Dijk
de4c819d97 some cleaning 2006-05-06 19:48:49 +00:00
Sander van Dijk
5e3214dfa4 this should fix keiss' maxcol issue (keiss: please verify!) 2006-05-05 20:06:08 +00:00
Anthony Martin
2f00d5b3b5 small changes in wmiiwm.1 to properly display hyphens in utf8 terminals 2006-05-04 23:39:16 -07:00
Sander van Dijk
11dc750133 small fix to event.c 2006-05-05 00:06:27 +02:00
Anselm R. Garbe
dd782be04f tags are trimmed from " \t" now, added $MODKEY-Shift-{j,k} and $MODKEY-Button2 for swapping (mouse-based) 2006-05-04 14:34:44 +02:00
Sander van Dijk
7afc36f949 add an extra check to create_area 2006-05-03 23:20:32 +00:00
Sander van Dijk
47b79d6f83 small change 2006-05-03 22:25:33 +02:00
Sander van Dijk
e0c943a09b small update to previous patch 2006-05-03 21:26:21 +00:00
Sander van Dijk
fca197fdb3 a little restructuring, moves the MIN_COLWIDTH/min_height handling into scale_* (where it belongs). The way it's done now is safer than before. 2006-05-03 21:11:14 +00:00
Anselm R. Garbe
f2e13ffe28 fixed annoyance reported by Thomas Tretzmueller 2006-05-03 12:51:24 +02:00
Anselm R. Garbe
2f8a1cc702 fixed typo in wmiiwm.1 2006-05-03 12:44:24 +02:00
Sander van Dijk
20f43ad800 small patch to make the mouse issue only I seem to be affected by more bearable; it makes it more obvious what's going on when it occurs. Still looking for a real fix... 2006-05-02 20:11:44 +00:00
Anselm R. Garbe
4e824db4b3 fixed double-free bug 2006-05-02 00:00:16 +02:00
Anselm R. Garbe
e05860576b prevent i from getting MAX_INT in update_view_bars 2006-05-01 23:49:05 +02:00
Anselm R. Garbe
d18d7c66f8 checking locale now in blitz_loadfont (prevents ugly artefacts) 2006-05-01 23:32:04 +02:00
Anselm R. Garbe
70f3dfff77 implemented CreateClient <index> event 2006-05-01 21:58:31 +02:00
Anselm R. Garbe
ec658d058f hopefully this fixes the issue seen by Sander 2006-05-01 21:15:24 +02:00
Anselm R. Garbe
939677d2f0 fixed the mem leak (hopefully) noticed by Icarus, adding an exit(1) to destroy_area, if its frame.size > 0 (should never happen, but we'll see) 2006-05-01 20:53:30 +02:00
Anselm R. Garbe
87b1782a04 changed wmiiwm.1 (added event processing section), attempt to fix the mouse issue reported by sander 2006-05-01 20:40:33 +02:00
Anselm R. Garbe
efdfee9c9e 9P fixes 2006-05-01 19:39:26 +02:00
Anselm R. Garbe
c6defdb115 fixed bug in event.c:handle_enternotufy() reported by DenisG 2006-04-29 22:27:50 +02:00
Anselm R. Garbe
60b3b48f33 9P bugfix #1, though I'll push a minor refactored version later (which is more error-prone with 9p2000.ko as well) 2006-04-29 18:51:45 +02:00
Anthony Martin
2f7eb817c2 update to wmiiwm.1, rewrote parts, cleaned groff formatting 2006-04-29 00:00:14 -07:00
Sander van Dijk
02b4f28ea6 reverted fs.c, since it seems that the change to it a couple of patches back was unintended... 2006-04-28 19:37:38 +00:00
Anselm R. Garbe
682a0de848 now please use this wmiiwm.1 and make something sane from it ;) 2006-04-28 18:58:08 +02:00
Anselm R. Garbe
ff7e066f29 proceeded with wmiiwm.1, still not finished 2006-04-28 18:00:22 +02:00
Anselm R. Garbe
28fa7146f2 proceeded with wmiiwm.1 man page, not finished yet though 2006-04-28 16:39:29 +02:00
Anselm R. Garbe
dba156e3f9 keiss, right, check again 2006-04-28 15:03:01 +02:00
Anselm R. Garbe
3f28a77d9e proceeded with wmiiwm.1 and fixed bug reported by keiss (keiss please recheck) 2006-04-28 14:33:43 +02:00
Anselm R. Garbe
ec111a5c9d revised occurences of draw_client.*, should be more robust now (though urxvt is broken if run with -tr, not our problem) 2006-04-28 12:37:19 +02:00
Anselm R. Garbe
e2b1f6c27d this might fix the hidden focus setting bug in stacking mode reported by DenisG, also touched several man pages, though wmiiwm.1 is only at a early stage. 2006-04-27 22:55:15 +02:00
Anselm R. Garbe
947a15ac98 fixed issue reported by rundstutzen (one has to be more hard to those broken apps) 2006-04-27 21:32:45 +02:00