okan
1eaac10a9a
When a window has a user or program specified position, ensure the edge of the
...
final position is at least viewable and warp'able by the difference of bwidth;
prevents mapping windows completely off the virtual screen.
2016-12-19 14:17:26 +00:00
okan
13e3ebc448
stray newlines
2016-12-06 21:59:33 +00:00
okan
62c01a2e19
Add search_print_text(), a default callback for mi->print in menu_filter(). While
...
here, normalize the remaining search_print_* argument paramters.
2016-12-06 21:54:10 +00:00
okan
dd468cc47d
Consistent use of menuq_add for ssh menu.
2016-12-06 21:09:22 +00:00
okan
642c4932c1
Now that dim.{x,y} are available early, use them before requiring a
...
MotionNotify event.
2016-12-06 21:03:58 +00:00
okan
a623680c7e
Set dim.{x,y} during client_init and update on resize, instead of
...
(re)calculating only when applying hints.
2016-12-06 21:00:13 +00:00
okan
382e777e16
'window-search' is spelled 'menu-window'; the former snuck in during the
...
conversion('menu-window' already existed and was properlly documented); found
the hard way by sthen@ while trying to convert.
2016-12-06 15:03:13 +00:00
okan
52901073ce
Fold unbinding functions into one for each, key and mouse; plugs a leak when
...
unbinding a mouse button bound to a command.
2016-12-02 17:02:17 +00:00
okan
a5a9212293
use the correct type
2016-12-02 16:50:19 +00:00
okan
c6068df369
Tame the number of 'exec' and 'path' search_match wrappers. No functional
...
change now, though more can likely go later, losing the (paritally complete or
incomplete/broken) argument completion bits.
2016-12-01 20:28:19 +00:00
okan
1e51789cc3
Switch ssh menu to search_match_text; like group/window/cmd menus, use only a
...
substring match. The previous matching is only intended for the exec menus.
2016-12-01 18:44:09 +00:00
okan
5a905031f4
Change 'menu-window' to display all windows; then add 'menu-window-hidden' for
...
the previous behaviour of 'menu-window'. 'menu-window' becomes the default
binding; use 'bind-mouse "1" menu-window-hidden' to restore old behaviour for
those who prefer.
OK sthen@ (long long time ago on a different version)
2016-12-01 18:17:52 +00:00
okan
58b2eb545f
Normalize bind function names, based on a few categories: window, group, menu
...
and pointer.
Replace 'bind' and 'mousebind' options with 'bind-key' and 'bind-mouse',
respectively, replace special 'unmap' keyword with 'unbind-key' and
'unbind-mouse', and additionally allow unbinding all with 'all' keyword.
2016-12-01 17:17:27 +00:00
czarkoff
516257834c
Preserve aspect ratio of camera image in Xv output.
...
OK jca@
2016-11-26 11:49:15 +00:00
okan
5c15bd8953
Use an additional check with lstat(2) when d_type is unknown.
...
from James McDonald via portable.
2016-11-15 18:43:09 +00:00
okan
c33b352974
revert previous; upcoming changes will hopefully deal with these more
...
naturally.
2016-11-15 00:22:02 +00:00
okan
706ee11014
Add a wrapper based upon xevent handlers around client move/resize for key and
...
mouse bindings.
2016-11-15 00:07:03 +00:00
okan
d18539103e
Define callbacks, then default bindings.
2016-11-14 21:25:59 +00:00
okan
a78a724512
Reorganize for upcoming changes.
2016-11-14 19:56:05 +00:00
okan
f5f2a608ff
Remove the (8) default bindings for pointer move since they conflict with
...
default bindings for emacs, which wins; the feature remains and can be bound to
whatever users wish with cwmrc(5).
from mpi@
2016-11-14 13:52:33 +00:00
matthieu
8dbc1a3a1a
regen
2016-11-11 16:22:02 +00:00
matthieu
a525e5d33f
SU is not needed without xdmcp support
2016-11-11 16:21:50 +00:00
matthieu
da72443d3d
regen
2016-11-11 15:58:47 +00:00
matthieu
12abc80a8d
Xsession cleanup:
...
- remove mkstemp conditional it's always there
- remove USE_XPM conditional
- remove SCO and Unixware bits that survived so far
2016-11-11 15:58:35 +00:00
matthieu
d5119169fa
regen
2016-11-11 15:25:34 +00:00
matthieu
0a3295ecef
Keep only on Xservers file.
...
The Xservers.fs file makes no sense in xenodm.
2016-11-11 15:25:17 +00:00
czarkoff
7b0a63b485
Fix X11 property retrieval code
...
Just stop when reaching the end of property list instead of reading
forever past its end.
Issue was introduced in my previous commit and reported by deraadt@
2016-11-08 13:22:55 +00:00
matthieu
cf398e78cf
More unused code, when xdm-authorization is not used.
2016-11-06 14:00:37 +00:00
matthieu
4289726dad
Remove a number of unused prototypes
2016-11-06 13:48:48 +00:00
matthieu
4ebe34eee0
The SIGFUNC type definition is unused now
2016-11-06 13:40:33 +00:00
matthieu
eb59d7033d
Good bye <setjmp.h> and associated definitions.
2016-11-06 13:37:28 +00:00
matthieu
4a2df54825
Use explicit_bzero(). With BSD auth these data have already been
...
wiped when we reach those points but just in case.
2016-11-06 13:30:15 +00:00
matthieu
cdddca9b4f
Rework the Xservers parsing code to correctly reject
...
non local display types.
2016-11-06 12:56:30 +00:00
matthieu
abef35bfcd
GreetUser() doen't need to return the X display pointer.
2016-11-06 12:41:24 +00:00
matthieu
6ba2835960
Check strdup return value
2016-11-06 10:21:29 +00:00
matthieu
5f2163b431
Remove useless endpwent() calls
2016-11-06 10:17:38 +00:00
matthieu
cc885e4714
Remove a server reset that was there for compatilibity with "old" servers
2016-11-06 10:07:40 +00:00
matthieu
5b32b31147
Remove display class from Xserver examples.
...
They are of little interest in xenodm.
2016-11-06 09:45:34 +00:00
matthieu
036f33eb6e
Remove special handling of Kerberos auth that will never happen.
2016-11-06 09:32:15 +00:00
matthieu
33973f7a55
Add an autologin mode to xenodm.
2016-11-06 09:26:47 +00:00
matthieu
7cd788e5d9
Remove more mentions of remote and foreign X servers
2016-11-06 09:24:27 +00:00
matthieu
1a2fd595f2
Remove the displayType member of struct display.
...
xenodm only manages Local Permanent FromFile X servers.
No need to keep the checks for that.
For now the Xservers file keeps the location field, but ignores its
2016-11-06 09:17:47 +00:00
matthieu
a0d355a5ad
Update to xterm 327
2016-11-03 14:25:06 +00:00
tb
ba05d4bd05
Add a "flock" promise. If there are no local cache files for the user,
...
fontconfig may try to lock the shared cache files using fcntl(2).
ok matthieu
2016-10-26 20:08:14 +00:00
matthieu
57e2d19903
With the disabling of Tektronics emulation, the pledge(2) promises could
...
be reduced a bit: no more "cpath" should be required.
from Sebastien Marie. Thanks.
Reviewed by schwarze@, "put it in" deraadt@
2016-10-26 19:21:51 +00:00
okan
943e3e7534
Make it clear these are flags.
2016-10-24 20:44:08 +00:00
matthieu
d4d4ffd9f5
Stop providing the uxterm and koi8rxterm shell scripts.
...
Requested by schwarze@ agreed naddy@
2016-10-24 19:55:37 +00:00
matthieu
6e898074f3
Disable Tektronics 4014 emulation. ok natano@, naddy@, schwarze@
2016-10-24 19:31:35 +00:00
okan
b490184555
Remove duplicate check that strsubmatch() already does; while here, fix a
...
comment.
2016-10-24 18:57:12 +00:00
okan
6eaec44a4a
Sprinkle __func__ in appropriate error messages.
2016-10-24 17:39:38 +00:00