summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2016-07-11Version-less logos for 6.0 and aboveMatthieu Herrb
2016-06-06Comparing maximum frame buffer size after VIDIOC_DQBUF ioctl againstMarcus Glocker
'buf.bytesused' instead of 'buf.length' makes more sense. From Patrick Keshish
2016-06-06To match the encoding type, compare against 'pixelformat' instead ofMarcus Glocker
'description' which could contain any value. Fixes VIDIOC_ENUM_FMT ioctl for utvfu(4). Spotted by Patrick Keshish. ok mpi
2016-06-04Add 'q' option to just display the device properties and quit.Marcus Glocker
Tested and ok czarkoff
2016-06-02mmap(2) failure is indicated by MAP_FAILED, not NULL.Theo Buehler
ok mglocker
2016-06-02Just try to unmap a buffer when something has been mapped before.Marcus Glocker
ok semarie tb
2016-05-31Guard against using tp_start uninitialized in case no frame wasTheo Buehler
grabbed in verbose mode. ok mglocker
2016-05-31Add mmap(2) support for frame grabbing and make it default over read(2).Marcus Glocker
The introduced '-g' option still allows to fallback to read(2). With input from tb, jmc, and Patrick Keshishian. ok tb
2016-05-07remove xsystrace (already un-linked from builds)Matthieu Herrb
2016-04-28If supplied format to menuq_add() is NULL, fill text with an emptyOkan Demirmen
string; found by Christian Neukirchen.
2006-11-26Importing from XF4, plus BSD make infrastructureMatthieu Herrb
2016-04-25un-hook xsystrace(1). ok beck@Matthieu Herrb
2016-03-08Use UTF-8 mode by default because it is safer and more usefulIngo Schwarze
even for people always running with a C/POSIX locale(1). OK matthieu@ naddy@ martijn@
2016-03-06Update to xrandr 1.5.0Matthieu Herrb
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