Commit Graph

1215 Commits

Author SHA1 Message Date
Anselm R. Garbe
96dadee572 found a working way for completely grabbing the keyboard and using XTestFakeKeyEvent() from XTEST extension which would work with all kind of clients (only local clients) 2006-07-04 14:30:47 +02:00
Anselm R. Garbe
9ed7244658 wmiikgrab can be exit with Escape, it reports all key event and resends the original one to the specific client, however the client must have to accept synthetic events (like wmii frames) 2006-07-04 14:07:08 +02:00
Anselm R. Garbe
74750219da added wmiikgrab tool to cmd/ (don't invoke it unless you don't want to restart X), I search for a way to exploit the synthetic flag of key events in X atm 2006-07-04 13:22:59 +02:00
Anselm R. Garbe
404b2100a3 tagbar editing works now 2006-07-03 20:56:41 +02:00
Anselm R. Garbe
2af8fef0e0 renamed Blitz' dsiplay into dpy 2006-07-03 18:41:14 +02:00
Anselm R. Garbe
9a0bae0b61 deactivation of active keyboard grab 2006-07-03 12:22:46 +02:00
Anselm R. Garbe
a206679e89 added prelim version of keyboard handling, however don't try it now 2006-07-03 12:14:26 +02:00
Anselm R. Garbe
15c62b0874 removed unnecessary draw_frame in resize_client 2006-07-03 09:27:50 +02:00
Kris Maglione
207aac30fe Prevent floating windows from appearing off screen or covering the bar. 2006-06-30 20:16:49 -04:00
Kris Maglione
f22d6445dd Sorry, another change to /tag/x/index '<area> <client> <y> <h> ...' 2006-06-30 17:04:34 -04:00
Kris Maglione
a903306026 Make wmiiwarp scan y from argv[2] rather than argv[1] 2006-06-30 17:03:46 -04:00
Kris Maglione
e5be02b7e9 Fixed prev commit: '# ~ <screen width> <screen height>' '# <area n> <x> <width>' 2006-06-30 16:09:33 -04:00
Kris Maglione
97d2c319ce Added '# <view> <width>' to /tag/x/index 2006-06-30 15:54:29 -04:00
Anselm R. Garbe
80c337d10c fixed tf (typo?) 2006-06-30 14:18:26 +02:00
Anselm R. Garbe
281e1fb5ab added focus{in,out} notification (this is necessary to get a clue while we can grab the keyboard for the tagbar) 2006-06-30 14:10:03 +02:00
Anselm R. Garbe
6de57e1202 implemented cursor setting (selection for 1 character I'm working on), eliminated several compiler warnings which drive me nuts 2006-06-30 12:21:26 +02:00
Kris Maglione
0a5aa6a6a4 Fixed frame bug from the mailing list plus other frame related cleanup. 2006-06-30 02:02:44 -04:00
Kris Maglione
4c6e737870 Fix a possible segfault in bar sizing 2006-06-29 23:09:47 -04:00
Kris Maglione
8b1e64bb50 Ignore BadAccess error on XGrabKey. Fix + cleanup in column.c 2006-06-29 22:58:06 -04:00
Kris Maglione
e2652df909 Missed column.c in my last commit, somehow 2006-06-29 22:28:38 -04:00
Kris Maglione
f05e39aeed Began changes required for Xinerema support 2006-06-29 20:02:52 -04:00
Kris Maglione
0fd8d49ee8 Some cleanup in wm.h 2006-06-29 19:02:51 -04:00
Kris Maglione
b71912e999 sh sucks. Added more quoting to wmiirc. 2006-06-29 18:03:35 -04:00
Kris Maglione
5db9954834 Merge, it seems 2006-06-29 13:35:57 -04:00
Kris Maglione
884269f5a1 Close the X connection after the cleanup, rather than before. 2006-06-29 13:34:58 -04:00
Anselm R. Garbe
17bc1342d2 selection of tags works again (cursor settings need to be fixed however) 2006-06-29 11:53:45 +02:00
Kris Maglione
f6aa23fde1 Added a (partial) default key binding table to wmii(1) 2006-06-28 15:34:24 -04:00
Kris Maglione
c65dc4ac21 Added a (partial) default keymap table to wmii(1) 2006-06-28 15:29:24 -04:00
Kris Maglione
cb3a2c7663 Added a disclaimer to wmiiwm(1) that the information is obselete at blitz_'s suggestion 2006-06-28 12:08:56 -04:00
Anselm R. Garbe
eb050a2f34 removed charof from blitz interface, added notification functions for bpress, brelease and bmotion instead which return True on expose 2006-06-28 08:30:49 +02:00
Kris Maglione
ad9d50b3a8 Restore frame_of_win; remove wmiiwm's -c option 2006-06-28 02:20:17 -04:00
Kris Maglione
23a10f4541 Removed a bunch of unused functions 2006-06-27 22:16:14 -04:00
Kris Maglione
ab2ff71e8f Minor fixes to label sizing/alignment in liblitz (this really needs a brush->padding) 2006-06-27 20:59:09 -04:00
Kris Maglione
4113e8eb5c *really* exec wmiiwm at the end of the startup script 2006-06-27 20:44:32 -04:00
Kris Maglione
d76c845a09 Fix linking with gmake 2006-06-27 20:32:59 -04:00
Kris Maglione
a215076fb4 Fix minor typo in last commit 2006-06-27 20:23:34 -04:00
Kris Maglione
b5ae71f549 Removed -lX11 from wmiir and wmiisetsid. Remove wmiiwm -c from which wmii and exec wmiiwm at end. 2006-06-27 20:21:01 -04:00
salva
98e6c4cc50 corrected calculation of result, to fix segfault with floating clients 2006-06-28 01:45:31 +00:00
Kris Maglione
e67dfd1201 Hard code the path of welcome in the startup script 2006-06-27 07:46:33 -04:00
Kris Maglione
eff67dbcf6 Removed call to getlogin() 2006-06-27 06:54:21 -04:00
Kris Maglione
7169bac85c Redraw the bar on removal or bars 2006-06-27 05:58:40 -04:00
Kris Maglione
1c637379ea Yet another bug in last commit; removed the & from wmiiwm exec line 2006-06-27 05:53:15 -04:00
Kris Maglione
c59d7a7690 Readded mkdir to startup script (was accidentally removed in last commit) 2006-06-27 05:48:00 -04:00
Kris Maglione
c7f08a58cd Moved permissions checking code and wmiirc execution into wmiiwm 2006-06-27 05:44:54 -04:00
Kris Maglione
8bbd3e810c Removed other unused prototypes plus some other small fixes 2006-06-27 03:14:10 -04:00
Anselm R. Garbe
2869e6429f removed destroy_frame signature from frame.h 2006-06-27 08:19:05 +02:00
Kris Maglione
3cb086a412 Improved the bar sizing algorithm... not quite perfect yet, though 2006-06-26 22:21:09 -04:00
Kris Maglione
d4d4b77003 Allow opening files with OTRUNC set 2006-06-26 18:37:33 -04:00
Kris Maglione
f1c1f7fc44 Move invisible clients on max mode columns off screen 2006-06-26 17:59:32 -04:00
Kris Maglione
da55fea9fd Don't arrange_column if the column is floating 2006-06-26 17:35:12 -04:00
Kris Maglione
887fd1ead8 Fixed possible sel==nil on destroy_view 2006-06-26 17:09:35 -04:00
Kris Maglione
9c275f439d Set sel on view creation if it's nil 2006-06-26 16:03:17 -04:00
Kris Maglione
c422de344e Fix column drawing on mode switch and in stacking mode (forgot to commit yesterday) 2006-06-26 15:45:59 -04:00
Kris Maglione
edae9ff3ee Added size revert handling between floating/managed mode. Fixed term sizing bug (I think) 2006-06-25 22:18:00 -04:00
Kris Maglione
6c8280846a Fixed order of function declarations broken in last commit 2006-06-25 09:28:29 -04:00
Kris Maglione
76be3694d0 Restructured tag/view/frame handling 2006-06-25 09:16:03 -04:00
Kris Maglione
d1428091e2 Replaced the security check from the last commit. Moved the proglist to $WMII_NS_DIR and got rid of mktemp. 2006-06-24 06:45:27 -04:00
Kris Maglione
76202dcf48 Minor correction to my last commit 2006-06-24 05:21:41 -04:00
Kris Maglione
5af82396c4 Replaced OLDPATH; applied Armando Di Cian's permissions patch to startup script; minor changes elsewhere 2006-06-24 05:15:41 -04:00
Kris Maglione
01290a7bdd Added an explicit floating member to Areas 2006-06-23 21:22:04 -04:00
Kris Maglione
489a00c835 Replaced write_event with a va_arg printf-like version 2006-06-23 20:26:24 -04:00
Kris Maglione
a979c86bb2 Fix generation of extra FocusTag events on view change. 2006-06-23 19:39:00 -04:00
Kris Maglione
460e21c9c0 Fixed my last broken commit 2006-06-23 19:16:31 -04:00
Kris Maglione
21a0cc12d7 Removed a braindamaged realloc/strcat 2006-06-23 19:11:21 -04:00
Kris Maglione
906f5fb079 merge 2006-06-23 17:40:04 -04:00
Kris Maglione
f6dee3c0a0 Added size information to certain files so inferno can append them 2006-06-23 17:38:29 -04:00
Anselm R. Garbe
6ec8896f49 added BlitzBrush->border to allow defining borderless background drawing 2006-06-23 11:34:10 +02:00
Anselm R. Garbe
993611c95d using a global pixmap now 2006-06-23 10:47:07 +02:00
Kris Maglione
9ada8edddc Fixed drawing of the bar background. Fixed use of wmiir create in line with prev. commit. 2006-06-23 03:44:59 -04:00
Kris Maglione
2f7674d31a Fixed my last commit 2006-06-23 02:52:03 -04:00
Kris Maglione
94226889e9 Minor fix in bar alignment. Replaced test tags with def.testtags in /ctl (please don't commit broken code). Centered text horizonatlly in tag box. 2006-06-23 02:12:01 -04:00
Kris Maglione
bf4baf24dc Prevent clients from automatically floating on startup after a floating window is mapped. 2006-06-23 01:43:28 -04:00
Kris Maglione
20955d76c6 Write tags to _WIN_TAGS property to make restarts less painful. Change *BarClick args order (bar names can have spaces) 2006-06-23 00:37:59 -04:00
Kris Maglione
ffc6aa63ba Made 'wmiir create' also write whatever's available on stdin to the already open fid 2006-06-22 22:53:54 -04:00
Kris Maglione
fed849e2fc Moved some defs and structs that might conflict with others to the P9 namespace 2006-06-22 20:47:32 -04:00
Kris Maglione
c237f242a5 Replaced DM flags enum with defines for ANSI range compliance 2006-06-22 20:21:24 -04:00
Anselm R. Garbe
976ab95325 flicker prevention fix 2006-06-22 15:29:13 +02:00
Anselm R. Garbe
e8178048af flicker prevention through screen-sized offscreen pixmap 2006-06-22 15:25:59 +02:00
Anselm R. Garbe
e57867eddd hacked basic selection/cursor setting algorithm for tagbars (this is still proof of concept) 2006-06-22 14:56:21 +02:00
Anselm R. Garbe
05c58a0de4 implemented cursor setting algorithm for tagbars 2006-06-22 14:26:55 +02:00
Anselm R. Garbe
19148d825e implemented cursor rendering as well (now it has to be filled with life) 2006-06-22 13:22:02 +02:00
Anselm R. Garbe
7b54e864b6 implemented drawing selected text in an input widget 2006-06-22 13:00:37 +02:00
Anselm R. Garbe
948f228c61 drawing label now with new drawing algorithm for input widgets (box based) 2006-06-22 12:42:27 +02:00
Anselm R. Garbe
8ad66e8f67 renamed blitz_draw_input into blitz_draw_label, now implementing blitz_draw_input 2006-06-22 12:00:18 +02:00
Anselm R. Garbe
ff0f239614 simplified BlitzBrush once again 2006-06-22 11:46:39 +02:00
Anselm R. Garbe
92b0faadc2 removed ~200 LOC due to liblitz simplification 2006-06-22 11:03:42 +02:00
Kris Maglione
f00cbec38e Fixed possible segfault on select up/down in an empty view 2006-06-22 04:07:19 -04:00
Kris Maglione
3b8f3334d0 Replaced init_x_event_handlers() with an initializer 2006-06-22 03:47:54 -04:00
Kris Maglione
7d74df656f Changed bar->bar to bar->widget 2006-06-22 03:38:42 -04:00
Kris Maglione
50bed8e056 Removed some noise. 2006-06-22 03:28:39 -04:00
Kris Maglione
ebbfd75386 Made fs_create return an open descriptor in fs.c 2006-06-22 02:52:45 -04:00
Kris Maglione
c8c0e66ade Added proper permissions checking to fs_open 2006-06-22 02:36:13 -04:00
Kris Maglione
ec4dc189f4 Added LeftBarClick and RightBarClick events. Fixed bar initialization (this is ugly) 2006-06-21 17:12:02 -04:00
Kris Maglione
67fa1319d2 Removed /border and asprintf 2006-06-21 14:36:48 -04:00
Kris Maglione
fc19cdae55 Fix a crash when bad data is written to /ctl 2006-06-21 14:21:15 -04:00
Anselm R. Garbe
ec1db9e2df I think of only a BlitzBrush structure in the future, instead of all this crappy Widget/Color/Font stuff... 2006-06-21 17:28:33 +02:00
Kris Maglione
9322b3cfd4 Grabmod can now be more than one key (don't count on this staying yet) 2006-06-20 22:52:40 -04:00
Kris Maglione
4930cf53c7 Added view to the output of /ctl 2006-06-20 22:32:14 -04:00
Kris Maglione
c15122d84c Added reading of /ctl too 2006-06-20 22:27:19 -04:00
Kris Maglione
6965c4aede Replaced font, selcolors, normcolors, and grabmod with commands in /ctl 2006-06-20 22:06:02 -04:00