IABSD.fr/xenocara/app

Branch :


Log

Author Commit Date CI Message
85c0adf6 2014-04-11 22:58:12 Add -fno-stack-protector to the two files which already need to be built with -O1 on landisk - they definitely hit worst case logic in what passes for a compiler we're using. ok martynas@
73bad937 2014-03-15 10:39:28 Apply the ':' symbol to the SunPaste/XF86Paste events translations. This makes shure that shift modifers are taken into account to trigger the translation. It fixes the 'v' key on Zaurus keyboard, which has SunPaste at 3rd level and was thus bound to insert-selection() regardless of the shift level.
877931bf 2014-02-27 00:52:57 Alignment fix; found the hard way on sparc64 by landry@ (and thanks too for fast access to a box!) ok deraadt@, matthieu@
27e09cc0 2014-02-26 17:39:48 puffy 5.5
fcd6bcf1 2014-02-26 14:21:28 oops Pablo Mendez Hernandez <pablomh@gmail.com> pointed out there is a typo in previous commit. ok jca@, dcoppa@, deraadt@
c2e393c2 2014-02-25 22:16:24 Support for ed25519 keys. from Tristan Le Guern with tweaks by sthen@ Ok deraadt@
164e7011 2014-02-14 19:40:02 Update to xterm 301
875128a0 2014-02-08 02:49:30 Make sure we cycle through existing client's group membership and set the hidden state on the group; important to know group hidden state after a re-exec or restart of cwm (as easily seen in group menu).
1a7c8d16 2014-02-08 02:40:43 Replace a few hand rolled loops with like tailq loops.
92bf6935 2014-02-07 21:59:56 all mapped clients now should have a group, so simplify some cases
60a1b752 2014-02-07 18:09:54 If _NET_WM_DESKTOP is set to -1 during client creation, place the client into group 0 (nogroup); solves problem initially discovered by oga@nicotinebsd with tint2. A clientmessage *after* client creation already handles this case. Go further and assign every client to a group; in non-sticky mode, group 0 (nogroup) and sticky mode, the active group. In both cases, autogroup will override the group assignment. Removing a group from a client always places the client back into group 0 (nogroup). Autogroup can also assign a client to group 0 (nogroup) to keep a client always visible (unless of course one opts to hide all clients).
b23ca72a 2014-02-06 20:58:46 Some clients set the urgency flag even if they are the active client; prevent annoying behavior by only setting the cwm urgency flag if the client is not active; diff from Thomas Adam.
16de3733 2014-02-03 21:07:47 Introduce a region queue and replace screen's XineramaScreenInfo; we still use Xinerama to populate the regions per screen, but will switch at a more appropriate time.
4c3987dc 2014-02-03 20:29:05 make this XQueryTree like the other
ea2abae9 2014-02-03 20:20:39 Move redundant bits from screen_init (while dealing with existing clients) directly into client_init, performing the X roundtrip only once. With the previous change in maprequest, this moves decision making into one place for creating new clients.
bb4485df 2014-02-02 21:34:05 Move redundant window attr fetch from maprequest directly into client_init and perform that X roundtrip only once.
03847f1c 2014-02-02 16:29:04 No need to store screen colormap and visual; rather just use the X macros in the one place they are needed.
49f2f86d 2014-02-02 16:13:50 Unlike free(3), XFree(3) can't be passed a NULL pointer.
4ce9b054 2014-02-02 15:46:05 The menu already limits entries with MENU_MAXENTRY, so don't bother holding a command name limit as well.
90620930 2014-02-01 19:28:46 Take menu's bwidth into account for position/size; reported by Thomas Adam.
d413fd6b 2014-02-01 00:25:04 Let the config parser continue parsing even after encountering an error; original idea (with now-outdated patch) from Thomas Adam. Since we now report where errors exist, this now makes more sense. Expand a bit on config file parsing in the cwm(1). Discussed with a few, including sthen; ok sthen.
364a7628 2014-01-30 22:41:16 re-add lost free from previous
4de68368 2014-01-30 22:17:22 Switch ignoreq to winname struct since it's basically the same thing; removes limit on name matching.
ca2497d4 2014-01-30 15:43:53 use the same autogroupwin variable as everywhere else
9f5aa96c 2014-01-30 15:41:11 Move cwm_status around to avoid header fu, and remove extraneous signal header from xevents.c; noticed by Christian Neukirchen.
06d93197 2014-01-30 14:40:21 Remove duplicate mouse functions and instead use the kbfunc ones. No user visable changes at this point, but they'll merge at an appropriate time.
d5979e3a 2014-01-29 22:30:00 Minimize trivial differences between a few kb and mb functions.
e2d5d73e 2014-01-29 21:17:33 keybinding -> key binding
78ff1f74 2014-01-29 21:13:52 Merge keybinding and mousebinding queues into using the same merged struct, binding; they were essentially the same accept for what was 'pressed', keysym or button.
cd007c0d 2014-01-29 18:43:27 Much like we do for keyboard and mouse bindings, remove duplicates for command name - last match.
2ffb124d 2014-01-29 18:34:22 Check command name/path for truncation and provide user feedback during config parse (and use conf_cmd_add to populate defaults); based on a discussion with Tiago Cunha. While this looks ugly, there are likely some other changes here to come.
0590f4c1 2014-01-28 20:22:21 Check ignore windowname for truncation and provide user feedback during config parse; based on a discussion with Tiago Cunha.
2d6c7c78 2014-01-28 13:40:40 The EWMH spec states that if the cardinal returned is 0xFFFFFFFF (-1) then the window should appear on all desktops, which in our case is assigned to group 0. Found to fix stalonetray due to the non-ewmh aware range checking in group_movetogroup(); from Thomas Adam.
e395fd7b 2014-01-28 00:42:20 Move conf_init/clear into main - no behaviour change; from Tiago Cunha.
beb28798 2014-01-27 15:13:09 move some init up and shed some blank lines
fad126f1 2014-01-27 14:49:40 simplify parse_config using assignment; inspired by a very old diff from Tiago Cunha.
d0425acd 2014-01-24 22:38:02 more range checking
66e13c1a 2014-01-24 15:08:06 correct arguments and drop the cast. sanity check by oga@nicotinebsd
9ffdedb8 2014-01-23 17:13:38 no need to quote within warning
40c61903 2014-01-23 16:51:28 If no title is supplied, term uses only the basename for its title. This is useless when searching for windows launched via the ssh command menu; supply a more useful title: '[ssh] <hostname>'. Idea from todd@, ok todd@
b740a0a9 2014-01-22 22:41:09 zap whitespace
fa2846fe 2014-01-22 22:26:05 cwm_argv doesn't need to be global any longer
3aff0ea8 2014-01-22 22:14:02 start properly releasing X resources during teardown
3b8ad25f 2014-01-22 21:48:27 Somewhat streamline event loop/restart/quit handling; most notable change allows a restart to trigger proper teardown first, even though teardown is not (yet) complete. After some discussion with oga@nicotinebsd.org regarding a more complicated version/idea.
b92e846e 2014-01-21 15:42:44 Sprinkle a few more const; from Tiago Cunha.
69bb0696 2014-01-20 23:18:47 Save the ptr position before lowering via kbd, so as to be able to cycle back with the pointer in the right place; matches behaviour when lowering via the mouse function.
57bbf0fd 2014-01-20 23:03:51 merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc bits even closer.
42e2d07b 2014-01-20 22:31:53 Use argument to pass down flags for mousefunc cyclegroup; removes rcyclegroup wrapper need - now similar to kbfunc.
9a540a7a 2014-01-20 21:34:32 constify and rename some confusing variables around cmdq.
7e2aa0c8 2014-01-20 19:06:04 - remove redundant range check for buttons in conf_bind_mouse. - make conf_bind_kbd return error on non-matches to match what conf_bind_mouse does. - rename some variables while here for clarity. - constify bind and cmd. from Tiago Cunha.
83b0cbf1 2014-01-20 18:58:03 Add a function that adds an entry to a menuq, normalizing a common code path; from Tiago Cunha.
0f866aaf 2014-01-18 14:06:23 OpenBSD needs the same treatment as FreeBSD to avoid xterm -hold chewing CPU cycles. Reported by Kevin Chadwick.
e78ce57d 2014-01-05 07:08:53 Missing files for xauth 1.0.8
97017a13 2014-01-04 15:53:46 Update to xauth 1.0.8
72ccee09 2014-01-03 15:29:06 use consistent types
a2ae5b4d 2014-01-03 14:23:50 state is long
9fbf947a 2014-01-02 22:49:10 calculate proper menu width/height on the first Expose event; 'jump' (while using gap) noticed by Christian Neukirchen
c0d34338 2014-01-02 22:43:55 Accept _NET_CURRENT_DESKTOP ClientMessage; from Thomas Adam, though instead of group toggle, group only.
37b3ff69 2014-01-02 22:26:27 Accept _NET_WM_DESKTOP clientmessage; from Thomas Adam
24e4f6a4 2014-01-02 21:30:20 bring mousefunc closer to kbfunc
424dc78f 2014-01-02 21:17:23 gc keycode in keybinding since we only deal with keysym now
6dd84359 2014-01-02 21:15:39 rename for clarity
164bcbb4 2014-01-02 20:58:20 When a client doesn't specify size hints, nothing prevents a resize to 0x0 - don't allow this situation during mouse resize (check already in place for kbd resize). Reported by brynet@
0304b982 2014-01-02 15:15:51 Don't play with libxcursor if XCURSOR_THEM is defined.
9c13ac68 2014-01-02 15:14:50 Update to xterm-300. Tested by ajacoutot@ and shadchin@.
43482652 2013-12-17 16:12:18 missing stdarg.h include
d504b54a 2013-12-17 16:10:43 replace with memset
468c12c5 2013-12-16 19:02:17 Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint. Since we already have a form of 'maximize', we need to differentiate between 'maximize' and the new 'fullscreen' mode. The 'maximize' mode will continue to honor gap but now *retains* the border, matching the 'vert/horz maximize' behaviour. The new 'fullscreen' mode supports and follows the _NET_WM_STATE_FULLSCREEN hint, allowing the client perform additional window modifications; in this mode, cwm(1) will *ignore* gap, remove borders and freeze(move/resize) the client. Additionally, 'fullscreen' mode will remember various combinations of previous states. * default keybinding changes: CM-f 'fullscreen', CM-m 'maximize' (re-map as desired). Positive feedback from a few, testing and ok sthen@
4104232e 2013-12-13 22:39:13 Teach screen_find_xinerama() to apply gap only when told to do so; adjust callers. Needed for an upcoming feature.
5671dd54 2013-12-13 21:51:56 Instead of using work area, use the Xinerama area for snap calculations; based on a patch from Thomas Adam with appropriate adjustments for gap.
8730d449 2013-12-13 15:56:44 we need the save-set when re-exec'ing so as to not lose State on our hidden clients
c11a490e 2013-12-13 14:45:47 stray space and sort while here
1d68a42e 2013-12-13 14:40:52 Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me.
baac2737 2013-12-12 21:50:50 Make sure we really take work area gap into account with snap calculations; from Dominik Honnef via Christian Neukirchen.
e5da7748 2013-12-12 20:15:07 ICCCM explicitly states that server time (CurrentTime) should *not* be used for focus events, but rather the timestamp of the generated event. Track the last event timestamp and send it down for a WM_TAKE_FOCUS ClientMessage. I suspect we should do this for clients that don't announce this Atom as well, though the raciness gets us into a bind. Solves focus order issue since WM_TAKE_FOCUS; fix verified by sthen@ ok sthen@
c16e2098 2013-12-11 22:14:23 we don't need to manage the save-set since we're not reparenting; left-over from pwin
f1494daf 2013-12-11 17:23:31 since we are drawing in unhide, no need to during client setup
b5f3d281 2013-12-11 15:46:47 apply mwm hints later
3d5c1094 2013-12-11 15:41:11 Add client wrapper for XWMHints to support XA_WM_HINTS in PropertyNotify events; based off a diff from Thomas Adam.
5da88fd6 2013-12-11 14:16:09 Remove extra work and simplify client state handling.
33eb08de 2013-12-11 14:09:21 Stash Class and WM Hints in client_ctx
3c7dcdc9 2013-12-10 21:27:37 Redraw client border when unhiding; during a hide, we just unset the active flag but never redraw since it'll be in IconicState. Behaviour reported by sthen@
a6e6db76 2013-12-08 13:51:38 If not using sticky mode (the default), clients aren't automagically assigned a group, thus cc->group will be NULL - fix the client group shortcut in menu lists; crash reported by Christian Neukirchen.
3adb0abb 2013-12-03 22:27:26 don't include obsolete <sys/timeb.h>, which will go away shortly; ok matthieu@
7459d3af 2013-12-02 20:01:19 When we receive a NotionNotify event, there's no need to (incorrectly might I add) redraw the top menu selection.
e5072fc2 2013-12-02 19:49:26 Always highlight the first menu item (helpful to see selected items when not using a mouse and therefore not generating Expose/MotionNotify events); from Thomas Adam.
d7f3078e 2013-12-02 19:30:27 Prepend the group shortcut in the client search menu; from Thomas Adam. Likewise, prepend shortcut in unhide menu.
3207d6dc 2013-12-02 14:30:12 Since we use IconicState as our hidden state, check for the hidden flag and unmanage the client if we're not hidden (basically if NormalState) during an UnmapNotify event. Resolves an issue with mplayer going fullscreen while not using NetWM hints; behaviour regression reported by Ido Admon.
a287dfc7 2013-11-27 18:34:34 like gap, make snapdist per screen
efe2ba92 2013-11-27 17:04:35 alter -r1.145 getsizehints to deal with clients that don't have WM_NORMAL_HINTS.
9b29ffac 2013-11-27 16:24:17 Remove the option to bind a key by keycode with brackets; it never worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain.
a09ca80c 2013-11-27 14:20:32 simplify/unfold
57ba45de 2013-11-27 00:01:23 Rewrite active/inactive client handling in client_setactive(); client_leave() served no real purpose, likewise no reason to handle LeaveNotify events since an EnterNotify will process the next active client (and we don't have anything important to process anyway), so xev_handle_leavenotify() goes as well. Allows a simplification of client_mtf() and client_cycle_leave() for clarity. While here, unify a few client_current() checks. No intended behaviour change.
3ab274cd 2013-11-25 18:21:55 Log message: use u_char for buffers in yylex, for ctype calls, as done in all other parse.y in the tree found by millert@, ok okan@
783f743e 2013-11-18 20:39:48 Give /dev/drm0 to the user logging into xdm to be able to run OpenGL applications. ok kettenis@, naddy@
632f11c5 2013-11-12 21:25:00 Alter the r1.35 of event.c race fix. Remove the forward looking event queue check (removing the need for a server grab/ungrab) - if the client is going away, let it fall all the way through to a DestroyNotify event. There's no longer a need for us to manually destroy a client ourselves (removing yet another server grab/ungrab). Instead, when the UnmapNotify event is synthetic, simply set the state to Withdrawn (as per ICCCM), else Iconic (in our case 'hidden'). Verified with test case from the 2009 race which was the original reason for r1.35 of event.c.
ce53b02c 2013-11-11 12:51:15 Put back the border draw call in client_resize; since we are adding and removing the border on maximized clients we need to redraw. Also noticed by Tim van der Molen
e8fcfc29 2013-11-08 17:35:12 stash WMProtocols in flags
b543fee1 2013-11-05 00:55:42 quick keyboard focus fix for clients that neither populate wmhints nor wmprotocols, like rdesktop; focus needs to be re-visited
d21ac16a 2013-11-02 19:13:56 The only reason we need to keep XSizeHints in our client_ctx is for flags, so just add one to hints; consolidates sizehints and shrinks. Additionally don't abuse PSize for XGetWMNormalHints() failures.