aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-28rework mousemotion function return conditionalIvan Kanakarakis
2012-06-28no need for separate savedesktop functionIvan Kanakarakis
2012-06-28rename prevfocus and current to prev and curr respectivelyIvan Kanakarakis
2012-06-28rename current_desktop to currdeskidxIvan Kanakarakis
2012-06-28rename previous_desktop to prevdeskidxIvan Kanakarakis
2012-06-28rename key type to KeyIvan Kanakarakis
2012-06-28rename desktop type to DesktopIvan Kanakarakis
2012-06-28rename update_current function to focusIvan Kanakarakis
2012-06-25rename select_desktop function to selectdesktopIvan Kanakarakis
2012-06-25rename save_desktop function to savedesktopIvan Kanakarakis
2012-06-25rename prev_client function to prevclientIvan Kanakarakis
2012-06-25fix comment on removeclient() fuctionIvan Kanakarakis
2012-06-23fix CLICK_TO_FOCUS behaviorIvan Kanakarakis
when CLICK_TO_FOCUS was set, a Button1 click on a client should make that client the current one (highlight and input focus). however this was inconsistent, as if a modifier key was pressed at that time, like CapsLock or NumLock, the click would not be grabbed. this commit fixes this behavior and CLICK_TO_FOCUS should work regardless of NumLock or CapsLock or both modifiers beeing pressed at the time of the click event.
2012-06-21bigfix focus behavior on FLOAT modeIvan Kanakarakis
clients spawned when mode was FLOAT would not be marked as floating clients, and thus floating clients would appear on top of them. now clients spawned when mode is FLOAT, are marked as floating clients. additionally, there is no 'reset floating clients' capability, when mode is FLOAT. this was achieved by retiling the windows (reselecting the current mode). it would mark floating clients as non-floating and thus tile/reset them to the layout. this must not happen when the mode is FLOAT, as if a client on FLOAT mode is marked non-floating and moved to another desktop, it will be tiled, and this is inconsistent behavior (unexpected result). clients on FLOAT mode are floating clients always, and switching to FLOAT mode should mark all clients as such.
2012-06-15fix focus behavior - unmapped clients dont get input focusIvan Kanakarakis
2012-06-15replace a left off fprintf(stderr,..) message with warn()Ivan Kanakarakis
2012-06-15new client should always be current on its desktopIvan Kanakarakis
this fixes a bug that caused new clients on other non focused desktops (FOLLOW_WINDOW False and follow=False) to not become the current client of their desktop. this introduced the (now fixed) bug at cec4ecc (fixes #9): bugfix: null dereference in removeclient() caused freezes
2012-06-15tile() only when necessaryIvan Kanakarakis
2012-06-15reduce some computations while cycling desktopsIvan Kanakarakis
2012-06-15bugfix: null dereference in removeclient() caused freezes -- fixes #9Ivan Kanakarakis
this fixes freezes caused by clients opened in another empty desktop and closed without ever being focused. this possibly hides another bug, where new clients that spawn on other desktops that are not followed do not become the current clients. reports by djura-sans/kuraku, TheLemonMan, Shinryuu. ref: https://bbs.archlinux.org/viewtopic.php?id=132122&p=27 https://bbs.archlinux.org/viewtopic.php?pid=1116092#p1116092
2012-06-15minor rearrangements in maprequest and comment fixIvan Kanakarakis
2012-06-14only output desktop info when a window really unmapsIvan Kanakarakis
2012-06-09wrap mouse pointer only on resizeIvan Kanakarakis
2012-06-05use vi like keys with win key to moveresize a windowIvan Kanakarakis
2012-04-30fix for clients explicitly stealing focusIvan Kanakarakis
2012-04-27add FLOAT layoutIvan Kanakarakis
2012-04-27remove useless %s from usageIvan Kanakarakis
2012-04-26fix broken CLICK_TO_FOCUS settingIvan Kanakarakis
2012-04-24rework usage and argument parsiongIvan Kanakarakis
2012-04-24update documentationIvan Kanakarakis
2012-04-20move and resize floating windows with the keyboardIvan Kanakarakis
2012-04-16void definitions with no argumentsIvan Kanakarakis
2012-04-16fix prev_client prototypeIvan Kanakarakis
2012-04-12minor formatting change for the tenary operatorIvan Kanakarakis
2012-04-12fix grid layout crashing with no tiled clientsIvan Kanakarakis
2012-04-08use err on spawn tooIvan Kanakarakis
2012-04-08use err.h - new arg processingIvan Kanakarakis
2012-04-01focus new clients that spawn on different desktopsIvan Kanakarakis
2012-03-26fix flickering when focusing a new windowIvan Kanakarakis
this also fixes the infinite switching between clients when FOLLOW_MOUSE was set.
2012-03-23no need to match whole string - match a substringIvan Kanakarakis
2012-03-20remove NEXT PREV aliasesIvan Kanakarakis
2012-03-16don't mark current client as urgentIvan Kanakarakis
2012-03-14set _NET_ACTIVE_WINDOW when requestedIvan Kanakarakis
tools like `xdotool` can be used to select/focus a window, using the _NET_ACTIVE_WINDOW property. however those tools don't know or don't care about the state of the window, ie the window is unmapped. we workaround this by checking if the client that requested that property is visible in the current desktop. If not we discard the client message.
2012-03-14Replace XKeycodeToKeysym with XkbKeycodeToKeysymIvan Kanakarakis
XKeycodeToKeysym is now deprecated, as per http://www.x.org/releases/X11R7.6/changelog.txt Dirk Wallenstein (5): man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732
2012-03-13fix crashes when only one client on desktopIvan Kanakarakis
2012-03-11separate tile() from update_current() - semi-reverts 9f4ddbaIvan Kanakarakis
2012-03-11fix no current client when removing prevfocusIvan Kanakarakis
for example we open an application with a splash screen. the splash screen is the current window until the app is ready, opened, and mapped. once it's ready, the splash screen, which is now prevfocus is destroyed, and thus prevfocus is null. closing the app, called update_current(prevfocus) which resulted in no client being current and highlighted. also the check to remove _NET_ACTIVE_WINDOW is done with head. if there is no head, there is no client.
2012-03-10only select a desktop if neededIvan Kanakarakis
2012-03-10fix misbehaving clientsIvan Kanakarakis
2012-03-10on remove update current with prevfocusIvan Kanakarakis