summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2016-01-16puffy 5.9Matthieu Herrb
2016-01-13On BSD, switching off ICANON does not disable LNEXT (^V) processing.Christian Weisgerber
We explicitly need to unset IEXTEN. ok matthieu@
2016-01-13Update to xterm 322. Tested by shadchin@ and jsg@. Thanks.Matthieu Herrb
2016-01-05missed one conversion to arc4random().Matthieu Herrb
2015-12-24Remove unused file.Matthieu Herrb
2015-11-25add pledge promise "exec" for few cases in xtermSebastien Marie
in particular if the user use `exec-formatted' or `exec-selectable' actions in key binding. problem reported by jirib at devio dot us.
2015-11-18pledge fvwm and FvwmPager (since it's started by default); committing toOkan Demirmen
solicit further feedback and testing. ok matthieu and encouragement from deraadt
2015-11-17Fix a typo from r1.201; fixes window_grouptoggle binding.Okan Demirmen
2015-11-17If a client does not set increment values, use 'moveamount' as a way toOkan Demirmen
scale keyboard based resizes; extend kbfunc_amount(). Behaviour noted by, tested by, and ok sthen@
2015-11-17Inline the only use of mousefunc_sweep_calc.Okan Demirmen
2015-11-14pledge xconsole(1).Matthieu Herrb
2015-11-14Don't try to revoque privileges if priv_init is called withoutMatthieu Herrb
privileges. The parent process will be used for operations that can't be pledged.
2015-11-12more client vs screen context differencesOkan Demirmen
2015-11-12If a client sets hints, honor them for kb resize requests, just like weOkan Demirmen
do for mouse based resize requests. Based on a patch from Vadim Vygonets.
2015-11-12Move kb pointer movement out of the kbfunc_client_moveresize since it'sOkan Demirmen
got nothing to do with clients, thus doing flags work causes lots of waste and almost useless jumpy pointer movements; while here, split out move and resize since they share almost no code, just like mouse client move/resize; factor out amount and factor. Still wonder why this is here, but it works now.
2015-11-12pledge "stdio rpath proc exec" cwm before main event loop, afterOkan Demirmen
init/setup - mostly for menu building. ok semarie@ (another cwm user)
2015-11-11Reduce gcc warnings. No functional changes.Matthieu Herrb
2015-11-11use HAVE_ instead of HAS_ macros for consistency.Matthieu Herrb
2015-11-11regenMatthieu Herrb
2015-11-11pledge for xclock. okan@ got to the same patch. I added autoconf gooMatthieu Herrb
to make it possible to send it upstreams. ok deraadt@
2015-11-11Partial revert of replacing screen_area() with region_find(); until aOkan Demirmen
fix for a regression is found; this bug has been around for a long time it seems, but this change exposed it. Likely need to track clients in to and out of regions.
2015-11-11avoid using err(), use xtermWarning() instead; ok semarieTheo de Raadt
2015-11-10Use position on root to figure out region.Okan Demirmen
2015-11-10Start cleaning up name vs function differences; replace magic numbers.Okan Demirmen
2015-11-09Clean up unused defines.Okan Demirmen
2015-11-09Extend region to include both view and work areas; switch toOkan Demirmen
region_find() which no longer needs to recalculate gap each time a client (or menu) is created or altered. If no RandR, fall back to display dimensions while building regions instead of during execution.
2015-11-08Fix use afer free in free_window_list().Matthieu Herrb
bug report by Gerrit Meyerheim, patch by Serguey Parkhomovsky on bugs@ Thanks to both.
2015-11-07add pledge to xtermSebastien Marie
the pledge call is done just before the main loop, so initialisation is almost done. - stdio: for all communication on opened fds (read/write/select/recvmsg/...) - rpath: for X11 error ("X Error of failed request: ...") which read at least /usr/X11R6/share/X11/XErrorDB - wpath : on exit, for opening WR_ONLY "/var/run/utmp" - cpath : for Tek emulation window (xterm -t) - id : on exit, for calling setegid() - proc: on exit, for calling kill() - tty: on exit, for calling tcflush() "it is time" deraadt@
2015-10-17Don't automatically launch dbus as part of the default user sessions.Matthieu Herrb
requested by deraadt@ no objection ajacoutot@
2015-09-23Only when mapping clients from an initial wm start or restart, query theOkan Demirmen
pointer and if it matches the child window, activate it; new clients will not need to make this roundtrip to the server. Based on a patch from Preben Guldberg.
2015-09-16On execwm, we should properly release resources before exec'ing into aOkan Demirmen
new window manager; so allow CWM_EXEC_WM to assign new wm to wm_argv and pass through cwm_status (now EXECWM) so that x_teardown() gets called before exec'ing the new window manager. Removes the need for a separate x_restart() now, using new wm_argv; and consolidates errno for execvp.
2015-09-05Update to xterm 320. Tested by jsg@ Thanks.Matthieu Herrb
2006-11-26Importing xterm 216Matthieu Herrb
2015-08-30Remove abuse of \/ which is not a slash but an italic correction;Ingo Schwarze
ok matthieu@, who will also push these fixes upstream (thanks).
2015-08-28Lost fix from r1.112; add comment.Okan Demirmen
Reported (again!) by Peter Kane.
2015-08-27Mechanical change: group->gcOkan Demirmen
2015-08-27Add consistent checks against NULL.Okan Demirmen
2015-08-27Move client cycle grab/ungrab into a more relevant place; while here,Okan Demirmen
update comments about why we need to grab/ungrab the keyboard.
2015-08-27Re-add lost chunk in group_cycle from r1.113.Okan Demirmen
2015-08-25Further simplify _NET_WM_DESKTOP handling using new group_assign().Okan Demirmen
2015-08-25oops; remove left over debug printOkan Demirmen
2015-08-25Allowing sending a valid 'nogroup' (0) group_ctx to group_assign()Okan Demirmen
(since we init all groups), though assigning the client's group to NULL for 'sticky'; use this simplification in a few places (others to follow).
2015-08-25Split out sticky mode checks and the restoring of a client's group andOkan Demirmen
_NET_WM_DESKTOP from the config-based auto-grouping; no (intentional) behavior changes. Needed for further work in cleaning up this area.
2015-08-24Implement _NET_CLIENT_LIST_STACKING (from Thomas Admin), butOkan Demirmen
bottom-to-top order, as per spec (notified Thomas as well).
2015-08-24Don't allow freeze operations on fullscreen (consistent with whatOkan Demirmen
fullscreen does).
2015-08-24Sort _NET_WM_STATE Atoms like the spec.Okan Demirmen
2015-08-23Move CLIENT_STICKY logic from client hide/unhide to group hide/unhide;Okan Demirmen
rationale being that clients should be able to hide/unhide independently of group switching.
2015-08-21Fix whitespace.Okan Demirmen
2015-08-21Add Xkb modifier to ignore mask; from Alexander Polakov.Okan Demirmen
2015-08-21Fix whitespace.Okan Demirmen