summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2013-05-27fix type in a ClientMessage (xu_sendmsg).Okan Demirmen
2013-05-23alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceedOkan Demirmen
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. while here, change conf_grab_{kbd,mouse} to require only a Window.
2013-05-22since we don't have any screens yet, there's no reason to conf_{,un}grabOkan Demirmen
here; just build keybindingq.
2013-05-22get rid of long standing XXX: now that we configure screens based onOkan Demirmen
config options, add the keybinding GrabKey calls here
2013-05-22move validation of pointer Button into conf_mousebind so we checkOkan Demirmen
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.
2013-05-22sync with src changesOkan Demirmen
2013-05-21handle _NET_WM_STATE ClientMessage; from Alexander Polakov.Okan Demirmen
2013-05-20stray whitespaceOkan Demirmen
2013-05-20handle _NET_ACTIVE_WINDOW ClientMessage; from Alexander Polakov.Okan Demirmen
2013-05-20add support for _NET_WM_STATE_MAXIMIZED_{HORZ,VERT}; from Alexander Polakov.Okan Demirmen
while I'm unsure of the final look of _NET_WM_STATE, there's no reason to delay this support.
2013-05-20- configure menuwin with the screen, then create the xft drawable usingOkan Demirmen
the menu window since that's the only place on which we draw - elminate the need to change the drawable on every font draw
2013-05-20no reason to pass around *sc when it's already in menu_ctx.Okan Demirmen
2013-05-19move the 2 small font helper functions to xutil.cOkan Demirmen
2013-05-19move the rest of xft init into screen_conf, since most of it is based onOkan Demirmen
config parameters.
2013-05-19- switch border colors to XftOkan Demirmen
- 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)
2013-05-19add support for _NET_CLOSE_WINDOWOkan Demirmen
2013-05-19treat WM_CHANGE_STATE like other atomsOkan Demirmen
2013-05-19use XGetWMProtocols and simplify WM_PROTOCOL handlingOkan Demirmen
2013-05-19simplifyOkan Demirmen
2013-05-19Don't try to start an ssh agent if $SSH_AGENT_PID is already set.Antoine Jacoutot
ok matthieu@
2013-05-14if -> ifdefOkan Demirmen
2013-05-14- let callers of font_draw figure out (and pass) the color instead of anOkan Demirmen
'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw.
2013-05-11swap x/y calculations in kbd move/resize to match those in the respective ↵Okan Demirmen
mouse functions
2013-05-11new -> initOkan Demirmen
2013-05-11replace conf_{gap,color,font} with conf_screen since really we areOkan Demirmen
configuring the screen *after* parsing, just as we do a conf_client on client manage.
2013-05-10more type fixes for mask/buttonOkan Demirmen
2013-05-10spacingOkan Demirmen
2013-05-10int type fixesOkan Demirmen
2013-05-10fix KeySym typeOkan Demirmen
2013-05-07border width/color makes sense for some, so put it backOkan Demirmen
2013-05-06negative values for borderwith, moveamount, snapdist and gap areOkan Demirmen
configuration errors, so warn and load defaults.
2013-05-06remove group in client_delete directly.Okan Demirmen
2013-05-06border width/color makes no sense on menuwinOkan Demirmen
2013-05-03Start dbus-launch in a consistent way int xinitrc and Xsession and fixAntoine Jacoutot
an indent weirdness while here. ok matthieu@
2013-05-02- no need to position and size the menu window before an Expose eventOkan Demirmen
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.
2013-05-02zap leftover debug printfOkan Demirmen
2013-05-02get rid of cc->name in the resize box and make dimensions more readable.Okan Demirmen
2013-05-02only redraw the name/size box when the client resizes, not every timeOkan Demirmen
there's movement; should slightly help with resize syncs.
2013-05-02no need for font_{ascent,descent,height} wrappers; limit font_width toOkan Demirmen
just requiring xftfont.
2013-04-30group conf_* init functionsOkan Demirmen
2013-04-30missing protoOkan Demirmen
2013-04-30type fixOkan Demirmen
2013-04-29use an int in screen_init and avoid needing to cast for screen number (which).Okan Demirmen
2013-04-17mechanical xu_{get,set}state -> xu_{get,set}_wm_state changeOkan Demirmen
2013-04-17slightly rework WM_STATE set/get to make it less ambigious; will be more clearOkan Demirmen
on what needs to change to make it right in the end.
2013-04-17zap extra spaceOkan Demirmen
2013-04-17add conf_ignore and move group_make_autogroup to conf_autogroup to match.Okan Demirmen
2013-04-14only a window is required to set WM_STATE. also un-confuse xu_ptr_getposOkan Demirmen
by using 'win' instead of 'rootwin' so as not to imply only the root window is queried, rather any window.
2013-04-12we handle WM_STATE here, so remove misleading comment.Okan Demirmen
2013-04-12we already set window state in client_hide or client_unhide right before, soOkan Demirmen
there's no need to do it again.