Commit Graph

  • 6059073a5f move synthetic responses and have client_msg only work with WM_PROTOCOLS, since that's all ClientMessageEvent is for anyway. okan 2013-06-10 21:37:30 +0000
  • b365ceac0e Check for, and honour, CWStackMode and CWSibling change requests during a ConfigureRequest event. Additionally, honour a border width change; detailed report and patch from Mike Small. okan 2013-06-10 20:11:43 +0000
  • c30653b1c3 cvsimport sthen 2013-06-03 20:33:17 +0000
  • 09f3275561 Unlike other parse.y variants, cwm's allowed 'command xx /path/to/xx' without quotes. Reinstate this support lost in recent sync diff and add a comment to show that it's intentional. ok okan@ sthen 2013-06-03 20:33:17 +0000
  • 5515a365ba cvsimport Christian Neukirchen 2013-05-29 22:37:37 +0200
  • 692d341dfc fix type in a ClientMessage (xu_sendmsg). okan 2013-05-27 23:20:45 +0000
  • be1a7a3f5c alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceed to grab keys in keybindingq. we don't need to ungrab/grab on every addition to the queue, just once with a complete keybindingq; simplify grabbing keys per screen (during init) and during a MappingNotify. okan 2013-05-23 16:52:39 +0000
  • 7cc1c7344f since we don't have any screens yet, there's no reason to conf_{,un}grab here; just build keybindingq. okan 2013-05-22 20:23:21 +0000
  • d1eadee922 get rid of long standing XXX: now that we configure screens based on config options, add the keybinding GrabKey calls here okan 2013-05-22 16:54:09 +0000
  • 532f132194 move validation of pointer Button into conf_mousebind so we check validity during the parse phase and not bother adding it to the queue, instead of each time a client needs to grab (when it's too late); furthermore, make this a config error, stop parsing and load the default config. okan 2013-05-22 16:32:15 +0000
  • 866f5af9c7 sync with src changes okan 2013-05-22 13:02:14 +0000
  • 421bf22ac7 handle _NET_WM_STATE ClientMessage; from Alexander Polakov. okan 2013-05-21 00:29:20 +0000
  • c2042cd523 stray whitespace okan 2013-05-20 21:32:00 +0000
  • ad8020e17d handle _NET_ACTIVE_WINDOW ClientMessage; from Alexander Polakov. okan 2013-05-20 21:19:15 +0000
  • 284af4ca0c add support for _NET_WM_STATE_MAXIMIZED_{HORZ,VERT}; from Alexander Polakov. okan 2013-05-20 21:13:58 +0000
  • 270df196ac - configure menuwin with the screen, then create the xft drawable using the menu window since that's the only place on which we draw - elminate the need to change the drawable on every font draw okan 2013-05-20 20:21:04 +0000
  • e14123210a no reason to pass around *sc when it's already in menu_ctx. okan 2013-05-20 20:04:36 +0000
  • 5b4c55616a move the 2 small font helper functions to xutil.c okan 2013-05-19 23:38:20 +0000
  • e41c84c752 move the rest of xft init into screen_conf, since most of it is based on config parameters. okan 2013-05-19 23:16:29 +0000
  • dac00a232f - switch border colors to Xft - merge border/menu color structures/functions since they now both use Xft - switch xu_xorcolor to operating on XftColor instead of just XRenderColor (basically adding pixel) - if color name allocation fails, revert back to default (this, along with font validation should occur during config parse, but we don't have screens setup yet - likely to change at some point) okan 2013-05-19 23:09:59 +0000
  • c84145661e add support for _NET_CLOSE_WINDOW okan 2013-05-19 17:05:52 +0000
  • 556a50d8f7 treat WM_CHANGE_STATE like other atoms okan 2013-05-19 17:03:55 +0000
  • 01bfdd7b42 use XGetWMProtocols and simplify WM_PROTOCOL handling okan 2013-05-19 17:02:04 +0000
  • 3253f5a4a1 simplify okan 2013-05-19 17:01:29 +0000
  • 1d34def8aa Update Makefile Ypnose 2013-05-15 12:54:55 +0200
  • dc8fd144b6 Added uninstall in Makefile Ypnose 2013-05-15 12:54:26 +0200
  • be72620432 if -> ifdef okan 2013-05-14 13:39:53 +0000
  • c637a54048 - let callers of font_draw figure out (and pass) the color instead of an 'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw. okan 2013-05-14 12:35:56 +0000
  • 112f616d1d swap x/y calculations in kbd move/resize to match those in the respective mouse functions okan 2013-05-11 22:03:17 +0000
  • 2b926784ba new -> init okan 2013-05-11 22:01:07 +0000
  • 3a38686137 replace conf_{gap,color,font} with conf_screen since really we are configuring the screen *after* parsing, just as we do a conf_client on client manage. okan 2013-05-11 21:46:27 +0000
  • 9b9e95d742 more type fixes for mask/button okan 2013-05-10 16:32:47 +0000
  • d0fe80b1f4 spacing okan 2013-05-10 16:10:40 +0000
  • e05c0a2c60 int type fixes okan 2013-05-10 16:05:34 +0000
  • 457938fbd7 fix KeySym type okan 2013-05-10 15:44:43 +0000
  • 27c011d4ee adapt to renumbered groups Michael Weber 2013-05-08 11:37:11 +0200
  • 65158c0386 make autogroup case insensitive Michael Weber 2013-05-08 11:36:39 +0200
  • ba5397474d use local var from 287a5b2a Michael Weber 2013-05-08 11:15:30 +0200
  • 6a2c8bf962 add memleak fix from commit ccbb1f15 Michael Weber 2013-05-08 10:53:04 +0200
  • 0671d579b7 Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux Michael Weber 2013-05-08 10:36:14 +0200
  • 151ec3286d remove duplicate stdio.h Michael Weber 2013-05-08 10:20:39 +0200
  • 260dc58f0f remove duplicate stdio.h Michael Weber 2013-05-08 10:12:22 +0200
  • 5f06e5a8ca border width/color makes sense for some, so put it back okan 2013-05-07 01:35:41 +0000
  • 1a06f09fa0 negative values for borderwith, moveamount, snapdist and gap are configuration errors, so warn and load defaults. okan 2013-05-06 19:09:19 +0000
  • 1db7cc2a18 remove group in client_delete directly. okan 2013-05-06 16:03:11 +0000
  • 27854d9061 border width/color makes no sense on menuwin okan 2013-05-06 16:00:34 +0000
  • e91c716262 - no need to position and size the menu window before an Expose event since we'll be calculating required size later anyway; allows us to consolidate all prompt/display/search string building goop into menu_draw. - reset the pos/size of menuwin when leaving a menu. - reverse the 'prompt' NULL check to be consistent with 'initial' one and fix a whitespace nit while here. okan 2013-05-02 20:18:35 +0000
  • 0d209028be zap leftover debug printf okan 2013-05-02 19:41:52 +0000
  • 9de81f3d2e get rid of cc->name in the resize box and make dimensions more readable. okan 2013-05-02 19:33:17 +0000
  • bb56bf4c4b only redraw the name/size box when the client resizes, not every time there's movement; should slightly help with resize syncs. okan 2013-05-02 19:30:10 +0000
  • 5acf6c147f no need for font_{ascent,descent,height} wrappers; limit font_width to just requiring xftfont. okan 2013-05-02 17:25:15 +0000
  • 843f18aaee cvsimport okan 2013-04-30 21:12:20 +0000
  • 5ab3b373d3 group conf_* init functions okan 2013-04-30 21:12:20 +0000
  • ff6f5301f0 missing proto okan 2013-04-30 21:11:07 +0000
  • 6e8f1f2955 type fix okan 2013-04-30 21:10:23 +0000
  • 94e341725b use an int in screen_init and avoid needing to cast for screen number (which). okan 2013-04-29 00:56:47 +0000
  • 006a29e617 mechanical xu_{get,set}state -> xu_{get,set}_wm_state change okan 2013-04-17 13:57:06 +0000
  • 302690624e slightly rework WM_STATE set/get to make it less ambigious; will be more clear on what needs to change to make it right in the end. okan 2013-04-17 13:52:20 +0000
  • 1dbcc394ae zap extra space okan 2013-04-17 13:31:47 +0000
  • a899d267fe add conf_ignore and move group_make_autogroup to conf_autogroup to match. okan 2013-04-17 13:30:38 +0000
  • 6f185bb03c cvsimport okan 2013-04-14 16:13:17 +0000
  • 16ed8bf8e4 only a window is required to set WM_STATE. also un-confuse xu_ptr_getpos by using 'win' instead of 'rootwin' so as not to imply only the root window is queried, rather any window. okan 2013-04-14 16:13:17 +0000
  • f3dfc4968c we handle WM_STATE here, so remove misleading comment. okan 2013-04-12 20:54:27 +0000
  • ef1b78f464 we already set window state in client_hide or client_unhide right before, so there's no need to do it again. okan 2013-04-12 20:45:57 +0000
  • b5f6bd205c makes no sense to set an error handler which uses X_Dpy before XOpenDisplay. okan 2013-04-12 14:49:16 +0000
  • 6296efadaa push Screenq into screen_init okan 2013-04-12 14:46:30 +0000
  • 90f95416c6 _NET_WM_NAME is UTF8_STRING type okan 2013-04-10 19:08:09 +0000
  • 68fd7e0890 Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux Michael Weber 2013-04-08 18:35:33 +0200
  • 58c1d48d10 plug memleak; always need to menuq_clear even when a selection is made. okan 2013-04-08 15:43:04 +0000
  • 62a685d82a reverse logic to make it like the others okan 2013-04-08 13:05:27 +0000
  • 28b54db221 consistency okan 2013-04-08 13:02:31 +0000
  • 8c47a12a86 missing prototype okan 2013-04-08 00:56:21 +0000
  • a957ed7c7d cvsimport okan 2013-04-05 17:36:02 +0000
  • f18d2c94c2 add missing proto; replace magic number okan 2013-04-05 17:36:02 +0000
  • 670207f79b zap stray whitespace okan 2013-04-05 17:07:25 +0000
  • c5a76f1d5b - no reason to breakout ClassHints work, so fold into client_{new,delete}, but keep _MOTIF_WM_HINTS separate. - simplify fetching app/class hint. - fix _MOTIF_WM_HINTS Atom type. okan 2013-04-03 20:22:55 +0000
  • 9cad4c73b3 honor PATH search order for exec; from Andres Perera. okan 2013-04-03 19:28:00 +0000
  • ec4474a33a move XUngrabServer to the end of client_new() to avoid races where clients, such as those using sdl, attempt to manage the clients themselves when the clients aren't fully ready. other wm's grab the xserver during the whole client setup process, so match. okan 2013-04-03 19:20:50 +0000
  • cfc19dba7e cvsimport okan 2013-03-09 21:55:56 +0000
  • fbb0df4155 replace handrolled for loop with TAILQ_FOREACH; from andres.p@zoho.com okan 2013-03-09 21:55:56 +0000
  • 9c6226faa8 cvsimport okan 2013-01-13 13:55:12 +0000
  • 47aa485fa2 put back r1.68 which allows an empty group to be sticky; behavior change noticed by Thomas Pfaff and diagnosis why we need to group_setactive in this case by Alexander Polakov. replace XXX with a useful comment. okan 2013-01-13 13:55:12 +0000
  • 62acbee4b3 set the initial group to '1', missed by recent off-by-one group numbering re-work; discovered the hard way by sthen@. okan 2013-01-10 15:28:11 +0000
  • 3a7596968b add per-group vert/horiz tiling support; introduces 2 new bind commands, 'vtile' and 'htile'; from Alexander Polakov. okan 2013-01-08 15:16:04 +0000
  • bf9d981597 teach screen_find_xinerama() about gap and adjust (simplify) callers; menu becomes gap-aware for free. okan 2013-01-08 04:12:51 +0000
  • e7b85cfb2f fix menu/client placement in panning setups; XineramaQueryScreens gives us the width of the psuedo screen, but here we need the edge instead (xmax/ymax); just re-use w/h here for now. okan 2013-01-07 21:53:23 +0000
  • 4ffe56b9a3 revert previous okan 2013-01-07 21:45:24 +0000
  • 7c4ed94757 unbreak xinerama support from r1.41 for panning setups okan 2013-01-07 20:32:19 +0000
  • 104c7d5de3 cvsimport okan 2013-01-06 01:01:26 +0000
  • c426254da5 use cc->bwidth in client_vmax since we've yet to reset it (matches client_hmax); from Jan Stary okan 2013-01-06 01:01:26 +0000
  • 6d123cd96d rename {h,v}max functions for consistency; from Jan Stary okan 2013-01-04 16:30:03 +0000
  • 579f981718 really these are just border colors, so adjust the define okan 2013-01-04 16:27:58 +0000
  • 96adffcd9d spacing okan 2013-01-04 16:23:51 +0000
  • 698530155d get rid of struct color okan 2013-01-04 16:23:04 +0000
  • c139df129c pass the screen workarea, as opposed to viewarea, allowing client snapping to honor gap. okan 2013-01-02 21:41:14 +0000
  • 2ac65bd288 re-work client_snapcalc() so it takes client and edge dimensions with snapdist; allows for simplier snap calculations. okan 2013-01-02 21:37:21 +0000
  • 6e5dda99a6 merge in Xinerama screen query; no functional change. okan 2013-01-02 18:11:23 +0000
  • ce8ef02ed2 have screen_find_xinerama() return struct geom *reliably* instead of XineramaScreenInfo; simplifies goop around the callers. okan 2013-01-02 16:26:34 +0000
  • e492ed8e41 more variable consistency okan 2013-01-02 02:19:20 +0000
  • 2d28b71a1b info->xine, for consistent variable names okan 2013-01-02 02:02:08 +0000