Commit Graph

657 Commits

Author SHA1 Message Date
Anselm R. Garbe
8a9034814a proceeding with client.c 2006-01-25 20:41:12 +02:00
Anselm R. Garbe
e6caefcd58 began structural changes, don't pull yet 2006-01-25 19:39:08 +02:00
Sander van Dijk
b5f71fd3c7 Clear bar when no client is selected (issue reported by nusse) 2006-01-24 11:51:13 +01:00
Sander van Dijk
453c0cf95f fix crash when using rmpage when no pages exist 2006-01-24 00:01:17 +01:00
Anselm R. Garbe
abcefd3981 fixed frame selection on frame press 2006-01-23 21:40:31 +02:00
Anselm R. Garbe
9ef8acd057 removed Frame->clients and Frame->nclients, changed it to Frame->client instead (only first step) 2006-01-23 21:00:25 +02:00
Anselm R. Garbe
d564fe9b17 implemented rudimentary max action (M-m) in col and float layout, in col it doesn't works well if you unselect a maximized frame ;) because of overlapping 2006-01-23 19:23:56 +02:00
Sander van Dijk
faa55a8bae small changes to wmiimenu behavior, improving predictability 2006-01-23 16:07:44 +01:00
Sander van Dijk
3c83596871 some changes to improve readability of earlier patches 2006-01-23 16:06:14 +01:00
Anselm R. Garbe
61414547b5 fixed error output in wmiir2:create 2006-01-23 15:30:54 +02:00
Sander van Dijk
2aec823caa move some code to a better place 2006-01-22 20:19:45 +01:00
Sander van Dijk
f08f943282 cure wmiiwm sudden death on removal of last remaining page 2006-01-21 22:45:11 +01:00
Anselm R. Garbe
9fb1c4379c some more small changes in wmiibar and page.c 2006-01-21 19:01:28 +02:00
Anselm R. Garbe
1e96f98c38 merge 2006-01-21 18:40:07 +02:00
Anselm R. Garbe
ddc783198f fixed comp routine issue 2006-01-21 18:38:39 +02:00
Sander van Dijk
d06ffcc6ea fixes same bug as changeset 233, but in a better way 2006-01-21 15:56:36 +01:00
Sander van Dijk
690d22ec1d fix bug where the page you land on after rmpage-ing another page was invisible 2006-01-21 15:12:38 +01:00
Anselm R. Garbe
04d570026a added qsort to xls in wmiir2 2006-01-21 15:08:34 +02:00
Anselm R. Garbe
f6abe35c21 applied patches to allow compilation on SunOS 2006-01-21 13:57:20 +02:00
sander
aaad685adb Fix "last focussed window retains focus when switching to an empty page" bug 2006-01-20 23:57:23 +02:00
sander
b6359f75d6 Make comments from earlier patch ANSI C compliant 2006-01-20 23:41:09 +02:00
Anselm R. Garbe
e75df44b4e removed unnecessary debug info from libixp2/wmiibar2 2006-01-20 20:07:53 +02:00
Anselm R. Garbe
f60214edd9 now even fsreaddir works withe libixp2 (actually Rstat message of 9P is pretty braindamaged) 2006-01-20 19:43:27 +02:00
Anselm R. Garbe
a6462e8ed6 fixed stat problem, as claimed in the manual page, stat is really containes twice, weird! 2006-01-20 18:48:19 +02:00
Anselm R. Garbe
cfc11bd5d4 simplified stat creation 2006-01-20 16:43:17 +02:00
Anselm R. Garbe
d9b393262e changed Copyright year notice 2006-01-20 16:20:24 +02:00
Anselm R. Garbe
97032c01a8 prepared new snap 2006-01-19 19:55:08 +02:00
Anselm R. Garbe
d93bdf0558 renamed local functions which names might conflict with other funcs from _ to x prefix (Pike style) 2006-01-19 19:36:20 +02:00
Anselm R. Garbe
f3920c44dd applied Sander's wmiimenu XK_Tab patch 2006-01-19 18:29:20 +02:00
Anselm R. Garbe
a31c2af833 fixed bug in pager if floating pages exist 2006-01-19 17:39:25 +02:00
Anselm R. Garbe
40c3143c35 now setting default cursor on focus_client to prevent GTK braindamage cursors 2006-01-19 17:26:09 +02:00
Anselm R. Garbe
62c11d4a5b now applying float layout works as expected 2006-01-19 17:01:01 +02:00
Anselm R. Garbe
ace9b63747 fixed several issues in column layout reported by tube 2006-01-19 16:02:18 +02:00
Anselm R. Garbe
d8daa2fe96 no selection if only one object exists 2006-01-19 11:35:31 +02:00
Anselm R. Garbe
7fdbcc92d1 fixed M-S-a (visual attach detached clients) page 2006-01-18 20:34:10 +02:00
Anselm R. Garbe
1c281c415b fixed pager index drawing 2006-01-18 18:55:15 +02:00
Anselm R. Garbe
33c9c936fb also frames and bar labels begin with index 1 now 2006-01-18 18:52:09 +02:00
Anselm R. Garbe
2fd5866c98 page counting/addressing begins at 1 again 2006-01-18 18:45:27 +02:00
Anselm R. Garbe
b32cb82867 fixed 'select west' bug in column layout (no round roubin if leftmost col was selected) 2006-01-18 18:03:54 +02:00
Anselm R. Garbe
02e707a4ee fixed autowarping on focus_layout (was annoying depending in which scenario called, ie on focus_page) 2006-01-18 17:46:21 +02:00
Anselm R. Garbe
5a74d5ad63 refined swap in column layout to work in a cooler way 2006-01-18 17:42:10 +02:00
Anselm R. Garbe
849395cbc5 dropped click-through, too many ugly hacks, we will stick to click-to-focus, don't blame me, blame X 2006-01-18 17:22:49 +02:00
Anselm R. Garbe
ed27c6b646 fixed focus-on-click, next is click-through 2006-01-18 16:02:29 +02:00
Anselm R. Garbe
576075e75f focus handling is up to the Layout now 2006-01-18 15:42:44 +02:00
Anselm R. Garbe
faa69a3a5f removed reattach as floating on confrequest, fixed issue on rmpage 2006-01-17 18:39:33 +02:00
Anselm R. Garbe
24f4a8b42d fixed mouse grabbing for the moment 2006-01-17 18:33:12 +02:00
Anselm R. Garbe
76a41dbdab fixed page focussing issues 2006-01-17 18:01:35 +02:00
Anselm R. Garbe
9dd3945664 fixed stupid bug which raised ixp corruption in layout_column.c:focus_col 2006-01-17 17:27:57 +02:00
Anselm R. Garbe
231c4c44b7 removed DETACHED_FRAME prefix, unnecessary (old ixp sucks badly) 2006-01-17 16:34:50 +02:00
Anselm R. Garbe
28f040c222 decided to keep auxillary pointer in Frame 2006-01-17 15:54:37 +02:00
Anselm R. Garbe
d8eb7baf2b fixed small issue in wmiiwm.1 2006-01-13 14:27:33 +02:00
Anselm R. Garbe
00fb0483f9 sanitized show/hide crap into map/unmap, implemented differentiation between focus/unfocus now 2006-01-13 14:24:55 +02:00
Anselm R. Garbe
4acbd3286e first step of layout interface change, next step is moving Frame->aux to Client->aux 2006-01-13 12:11:14 +02:00
Anselm R. Garbe
c07fee01c2 definately another focus algorithm is necessary 2006-01-12 19:11:15 +02:00
garbeam
8ad02afad2 several other fixes concerning the borken sloppy crap 2006-01-12 19:03:49 +02:00
garbeam
01caae7040 fixed serious bug in /wm/default/area/ 2006-01-12 17:44:06 +02:00
garbeam
829191aa19 renamed Area to Layout 2006-01-12 17:06:50 +02:00
garbeam
ca60ffdf74 some other focus changes, next is to merge Area with Layout and to activate the qid routing 2006-01-11 20:06:51 +02:00
garbeam
98d451e445 some changes before last refactoring for 9P in wm/ 2006-01-11 19:15:16 +02:00
garbeam
bd1202b92e removed debug line 2006-01-11 18:15:24 +02:00
garbeam
543aaf3cd9 focus sanitizing/work in progress 2006-01-11 18:07:33 +02:00
garbeam
a1416612fc implemented exec heuristic for /wm/X/ctl, ie wmiir write /wm/2/ctl 'exec xterm' 2006-01-10 20:57:31 +02:00
garbeam
8c89fb71c4 fixed bug reported on wmii list 2006-01-10 19:58:01 +02:00
garbeam
a836cceff0 yet another fix for lavish, weird 2006-01-10 19:09:23 +02:00
garbeam
cde4aec791 fixed another issue occured on lavish's 64bit box 2006-01-10 19:00:21 +02:00
garbeam
0d73b13550 prepared snap, fixed issue reported by lavish's core file 2006-01-10 18:49:07 +02:00
garbeam
eb3b4c3f0f fixed drawing frame issue if exclusive column is selected and a nonexclusive column already exists 2006-01-10 18:30:51 +02:00
garbeam
a56387dae5 fixed float window focus issue reported by tube 2006-01-10 18:23:42 +02:00
garbeam
45e7c494ab added exclusive columns (no keybinding so far) 2006-01-10 18:18:09 +02:00
garbeam
57b0d1920c now corrected the snprintf's in page.c on 64bit 2006-01-10 16:21:02 +02:00
garbeam
bb3f54e814 size_t snprintf version with %ul 2006-01-10 16:18:39 +02:00
garbeam
ac54bfc595 fixed 64bit compile warnings (thx to lavish for the account) 2006-01-10 16:00:01 +02:00
garbeam
f8e6a1370c fixed attach/focus issue in upstream hg 2006-01-10 15:43:09 +02:00
garbeam
280ce10935 several changes concerning the focus issue 2006-01-10 14:42:24 +02:00
garbeam
509b6f0ca7 removed old geom syntax in all other occurences, fixed small issue in libixp2 concerning Tstat 2006-01-07 18:25:04 +02:00
garbeam
a2be972828 fixed stat en-/decoding in ixp2 2006-01-07 17:50:05 +02:00
garbeam
58dd7803c2 further debugging of stat stuff 2006-01-05 20:22:01 +02:00
garbeam
c31ed881a0 sanitized wmiir2 as follows:
- create/write reads from stdin arbitrary data which is written to a file
 - all other commands are command line args
 - cleaned up several crap, sanitized libixp2/client.c as well (interface)
2006-01-05 17:54:14 +02:00
garbeam
3b33e23942 fixed colorization on column change 2006-01-04 17:55:11 +02:00
garbeam
a197963ea9 changed geometry syntax from 'x,y,dx,dy' to 'x y dx dy' 2006-01-04 17:46:32 +02:00
garbeam
c9e7b1b913 fixed focus bug in layout_column 2006-01-04 17:34:18 +02:00
garbeam
ee3d76b744 fixed short title bug in wmiibar reported by bogon 2006-01-04 17:28:31 +02:00
garbeam
7d76910f15 fixed several serious issues in ixp2 to work with Plan 9 9P 2006-01-04 17:23:09 +02:00
garbeam
418ded55d9 removed lock-based tabbing, tabbing is up to the layout now 2006-01-03 11:30:15 +02:00
garbeam
e620aa3e45 removed unnecessary stuff from frame'fs 2006-01-01 22:35:11 +02:00
garbeam
83654ad78f removed positive queue dropping 2005-12-29 02:48:51 +02:00
garbeam
39ca1c4676 fixed wmiir2 issue for echo -n calls 2005-12-28 16:00:22 +02:00
garbeam
d17e46ac2e applied DenisG patch 2005-12-27 22:13:50 +02:00
garbeam
8bce198ded fixed wmiir2 2005-12-21 19:01:26 +02:00
garbeam
ee33e6655b fixed two nasty bugs reported by early adaptors 2005-12-21 18:28:46 +02:00
garbeam
272cba1404 indentation, changed libixp2 types 2005-12-21 17:18:11 +02:00
garbeam
c0a776ebb9 wmiir2 reads now from stdin only, changed -s into -a 2005-12-20 17:42:22 +02:00
garbeam
24f40f3dd1 fixed RERROR in libixp2 2005-12-20 17:32:42 +02:00
garbeam
a9142cdceb removed unnecessary debug info 2005-12-19 18:27:36 +02:00
gn
a6b98d2c42 s/wmi/wmii/ and the like 2005-12-18 17:55:06 +02:00
garbeam
41e62e6603 fixed select page and select floating frame as well to allow round trips 2005-12-18 15:56:22 +02:00
garbeam
2ecf687056 added saner select in col 2005-12-18 14:53:29 +02:00
garbeam
03f7aacd1f changed page flip policy 2005-12-17 16:14:59 +02:00
garbeam
7c7e43b6bf fixed issues in wmiimenu 2005-12-17 15:59:25 +02:00
uriel
2aeda38ba5 Makefile cleanups
Remove many superfluous vars from config.mk
2005-12-17 12:46:05 +01:00
garbeam
7d342c424f fixed wmiibar and wmiimenu 2005-12-17 13:10:47 +02:00
garbeam
95dffe3f1a some other bugfixes 2005-12-17 11:29:27 +02:00
garbeam
443ed8370e made effort in debugging most frking bugs 2005-12-16 21:05:42 +02:00
garbeam
af906b93ec finished container removal also in cmd/ 2005-12-16 20:11:44 +02:00
garbeam
68b9210626 made wmiiwm compile 2005-12-16 18:18:00 +02:00
garbeam
a52d8aadb6 proceeded with container removal in layout_column.c 2005-12-16 13:45:17 +02:00
garbeam
8ece4071ae removing container, not finished yet, fixed a bunch of other nasty bugs reported so far 2005-12-16 03:59:27 +02:00
uriel
eb09a51b8b Make next/prev iterate over all cols, north/south iterate inside single col 2005-12-15 12:38:22 +01:00
garbeam
1a966dc33e updated development notes, made some indent stuff cooler 2005-12-15 03:41:24 +02:00
garbeam
49c95a808a fixed wrong configurereq handling caused by missing SubstructureRedirectMask on frames 2005-12-15 03:08:26 +02:00
garbeam
faa3f31a0d fixed south resizals in col 2005-12-15 01:23:31 +02:00
garbeam
40d708969a removed crappy line 2005-12-14 20:43:34 +02:00
garbeam
398043dcd6 heapized global containers 2005-12-14 20:42:00 +02:00
garbeam
eb05036a06 fixed crash in select_col if no old frame exists 2005-12-14 19:51:40 +02:00
garbeam
4b50294b0d improved detach policy on tabbed frame in col layout 2005-12-14 04:49:25 +02:00
garbeam
5bbff9db94 small test 2005-12-14 02:53:06 +02:00
garbeam
1c8092146a reduced draw_frame operations drastically, centralized call to select_frame function 2005-12-14 02:22:37 +02:00
garbeam
d2683b3e4b fixed several frame rectangle based issues 2005-12-13 23:48:52 +02:00
garbeam
3ce3f784ea fixed scan_wins 2005-12-13 22:17:34 +02:00
garbeam
e02f058c6d fixed several resize bugs 2005-12-13 22:03:37 +02:00
garbeam
9b6d0e3011 made col layout more robust to actions 2005-12-13 21:06:07 +02:00
garbeam
385f740856 added smarter swapping 2005-12-13 20:58:05 +02:00
garbeam
7d1811da8f added M-Enter for swap west and M-S-Enter for swap east (column layout),
beside several fixes of mouse based movements/resizals
2005-12-13 20:45:56 +02:00
garbeam
0af8de3e85 changed column layout policy as follow, new column only possible if current column contains > 1 frame,
if last frame is detached, column gets detroyed
2005-12-13 17:10:22 +02:00
garbeam
8856b230b8 fixed north attaching policy in float layout 2005-12-13 15:55:48 +02:00
garbeam
a4799e2148 removed crap 2005-12-13 03:08:09 +02:00
garbeam
2db3a303b2 fixed nasty frame nstyle/bordercolor pointer issue 2005-12-13 02:41:36 +02:00
garbeam
c3578257f8 dynamic bar area reservation implemented, yippie 2005-12-13 02:10:28 +02:00
garbeam
0ed70ce953 cleaned up things 2005-12-12 20:06:10 +02:00
garbeam
9142b6a7ab changed libwmii signatures, removed win_prop, using XGetWMName instead (more modern) 2005-12-12 18:49:56 +02:00
garbeam
2d3b1e9d80 fixed enternotify based wrong repainting order 2005-12-12 18:21:01 +02:00
garbeam
8b9326aa2a added better area selection 2005-12-12 18:04:40 +02:00
garbeam
4a031f3094 removed urxvt, fixed compiler warning in layout_float.c 2005-12-12 16:24:38 +02:00
garbeam
7475073c47 fixed occurences of various old-style named commands in man pages and source 2005-12-12 16:16:23 +02:00
garbeam
f53b8d61ef renamed all wmi* prefixed tools into wmii* prefixed ones to prevent further confusion 2005-12-12 16:08:16 +02:00
garbeam
1f3ecb5a7c fixed annoying mouse warp, soon this will be removed completely, we got wmiwarp and need an event 2005-12-12 01:36:30 +02:00
garbeam
913fb72f86 fixed some other annoying off-by-one issues in colums if unequal number of frames are managed in a column 2005-12-12 01:05:15 +02:00
garbeam
88d2cc22d4 fixed detach issue 2005-12-12 00:52:04 +02:00
garbeam
753daa7b21 some other changes, switching handleinc off and using urxvt 2005-12-11 19:28:40 +02:00
garbeam
a2a98ce858 fixed east/west selection in column layout 2005-12-11 19:14:06 +02:00
garbeam
81ee3de5fe added some shortcuts for column navigation 2005-12-11 19:07:27 +02:00
garbeam
23335d5717 some more additions to column layout, still ths annoying deini/init bug 2005-12-11 19:00:27 +02:00
garbeam
5806667ac7 added unmap flag to detach* signatures 2005-12-11 17:24:52 +02:00
garbeam
55b6611a50 fixed several issues 2005-12-11 16:47:23 +02:00
garbeam
304d22ed62 somewhat more bugfixing 2005-12-11 02:09:24 +02:00
garbeam
05d4658224 added select for column layout 2005-12-11 01:03:17 +02:00
garbeam
d53c4451bd sanitized layout interface 2005-12-11 00:43:45 +02:00
garbeam
b976aa473d removed obsolete drop_move function from mouse.c 2005-12-10 17:39:33 +02:00
garbeam
e5508c8c4d improved column layout 2005-12-10 17:38:43 +02:00
garbeam
f6905a3e11 removed /wm/default/pagegeometry, obsolete 2005-12-10 15:54:46 +02:00
garbeam
62ba6045d0 added select to layout interface, now the layouts look pretty good from interface POV 2005-12-10 15:50:20 +02:00
garbeam
0615c276f9 removed old crappy layouts 2005-12-09 18:03:44 +02:00
garbeam
9ced0cc2a5 added file after_write handler in areas, which allows to change the layout onthefly 2005-12-09 18:02:03 +02:00
garbeam
1d92df0536 fixed serious bug in detach_client, if detached client 2005-12-09 16:52:45 +02:00
garbeam
3bbcf9f569 added also top-down and bottom-up iterators to container (for stack iteration) 2005-12-09 16:49:55 +02:00
garbeam
fb8176db37 fixed pager rendering 2005-12-09 04:40:39 +02:00
garbeam
453b849830 fixed annoying sel_page on detach 2005-12-09 03:57:09 +02:00
garbeam
bb40fdde5b added more stuff 2005-12-09 03:46:59 +02:00
garbeam
d824b961b0 fixed detach annoyances, identified problem with visual attaching clients from detached clients 2005-12-09 01:42:52 +02:00
garbeam
100c1b38db fixed tabbing rendering 2005-12-09 01:18:10 +02:00
garbeam
7d46f4474a fixed compile issue 2005-12-09 00:57:41 +02:00
garbeam
0de7a18beb some other changes 2005-12-09 00:48:32 +02:00
garbeam
10266b4705 added dynamic height calculation in all tools 2005-12-09 00:24:57 +02:00
garbeam
cb1510d077 applied several namespace changes 2005-12-08 23:12:12 +02:00
garbeam
9e18d437a7 fixed keyboard driven frame selection 2005-12-08 21:31:43 +02:00
garbeam
bd66e70aba fixed several page selection issues 2005-12-08 21:29:15 +02:00
garbeam
e56d9dc8c1 fixed wmimenu and wmibar issues, now proceeding with wmiiwm that col gets alive, jippie 2005-12-08 20:22:11 +02:00
garbeam
5b66795946 fixed annoying bug in wmikeys after introduction of container 2005-12-08 19:14:20 +02:00
garbeam
38f1663df9 fixed serious bug in wmikeys 2005-12-08 18:45:12 +02:00
garbeam
3b9fb4494c changed everything to use container struct 2005-12-08 18:35:40 +02:00
garbeam
c360abdc72 fixed destroy_area 2005-12-08 02:53:46 +02:00
garbeam
a2e48172ad made string termination Ken Thompson-compliant 2005-12-08 02:46:45 +02:00
garbeam
5811ab9b25 several other changes concerning mallocz 2005-12-08 02:39:07 +02:00
garbeam
629b23ae5d sanitized emalloc into emallocz which let's us get rid of various init crap 2005-12-08 02:31:23 +02:00
garbeam
244f66731a fixed nasty bug 2005-12-07 19:06:20 +02:00
garbeam
4948c0db18 added some test case which offered that cext_detach_item is borken atm, fixing 2005-12-07 18:30:34 +02:00
garbeam
43ed7943be removed frames container from area, areas contain clients only in their container,
instead the layout is responsible to provide a frame container of its frames
2005-12-07 16:06:16 +02:00
garbeam
c552c58519 fixed some constants to be saner 2005-12-07 03:20:36 +02:00
garbeam
5fb35fde42 fixed several serious bugs, the interface makes me happy 2005-12-07 03:10:14 +02:00
garbeam
f8949ef5e8 proceeded with integration of Container struct 2005-12-07 02:37:37 +02:00
garbeam
004b0da2cc some more fixes of new interface 2005-12-06 23:14:35 +02:00
garbeam
4c25ff1ad5 some more fixes/simplifications 2005-12-06 20:09:23 +02:00
garbeam
fefbab01e2 changed various parts to use new rocking data structure 2005-12-06 19:58:52 +02:00
garbeam
806a6ea150 began new container type for areas 2005-12-06 15:22:58 +02:00
garbeam
a89682c17e eliminated sloppy focus annoyances 2005-12-06 14:44:36 +02:00
garbeam
77249579da another small fix 2005-12-06 01:38:59 +02:00
garbeam
3c6b7219b4 two small fixes 2005-12-06 01:35:34 +02:00
garbeam
d925bcd3b0 fixed small issue in wmimenu 2005-12-06 01:08:21 +02:00
garbeam
68f01ef3bf fixed small bug in wmirc, also sanitized default wm events 2005-12-06 01:00:04 +02:00
garbeam
3d3499ff4a fixed several issues, cleaned up namespaces somewhat, adapted them to wmirc 2005-12-06 00:51:01 +02:00
garbeam
b45e29ac20 detach works 2005-12-05 23:22:24 +02:00
garbeam
d1a962ea23 attaching works 2005-12-05 21:38:03 +02:00
garbeam
a8b11805ad I don't care if lines are longer than 80 chars, we don't live in the 60s anymore 2005-12-05 03:52:26 +02:00
garbeam
98fd32f255 several changes to sanitize /wm fs 2005-12-05 03:50:02 +02:00
garbeam
fb790fbac5 increased warning level, cleaned blitz_strtorect 2005-12-05 03:25:48 +02:00
garbeam
ab5eb008a8 removed frking core.c 2005-12-05 03:15:25 +02:00
garbeam
571c792922 added new layout files 2005-12-05 03:09:27 +02:00
garbeam
6637f664be restructuring/reordering of various functions 2005-12-05 02:36:39 +02:00
garbeam
7a8fe69742 several changes, adding alloc_area 2005-12-05 00:45:59 +02:00
garbeam
c09888f7a1 eleminated all compile issues 2005-12-03 19:02:39 +02:00
garbeam
e9cea1dba8 fixed some more quirks 2005-12-03 13:36:00 +02:00
garbeam
e046ae217c fixed layout_column to compile at least, though missing symbols ;) 2005-11-23 13:53:24 +02:00
garbeam
e7cafad888 several changes in column layout to make it compile 2005-11-22 12:49:19 +01:00
garbeam
1e456a1913 several changes, removing compiling issues 2005-11-22 11:05:39 +01:00
garbeam
c9e17fa659 removed comp_obj 2005-11-19 20:31:43 +02:00
garbeam
148f4aba01 fixed some issues 2005-11-19 20:26:17 +02:00
garbeam
caaad63c0d added initial files 2005-11-18 17:54:58 +02:00