summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-01Tighten screen sorting: comparing a screen with itself should return 0Jérémie Courrèges-Anglas
2016-12-01Kill gcc uninitialized warningMathieu OTHACEHE
It is useless to initialize screen_count, but it prevents a gcc warning.
2016-12-01Add height dimension to screen sortingMathieu OTHACEHE
Screen are only sorted according to their width offset from origin ("left" in screen struct). Also sort screen that share a same width offset according to their height offset ("top" in screen struct).
2016-12-01Fix sfrestoreMathieu OTHACEHE
Use screen numset in sfrestore
2016-12-01Fix sfdumpMathieu OTHACEHE
Use screen numset in sfdump
2016-12-01Fix fdump and sselectMathieu OTHACEHE
Use screen numset in fdump and sselect.
2016-12-01Assign a number to each screen using a numsetMathieu OTHACEHE
A number is added to rp_screen to identify every screen. The screen numbers are affected at ratpoison start, when screens are sorted. On screen addition, a new number is requested. On screen deletion, the screen number is released.
2016-11-24Kill gcc unused function warningMathieu OTHACEHE
The xrandr_rotation_string function is used only if DEBUG is enabled.
2016-11-24Tweak previous.Jérémie Courrèges-Anglas
Use nicer names that the long ac_cv_* variables. Also, the reason why the third parameter of AC_CHECK_LIB was significant is that, if using the default (empty), the macro adds -lXrandr to LIBS. Later, LIBS is used for compile tests, which fail if libXrandr is not in the default search path of ld(1), for example in /usr/X11R6/lib...
2016-11-23Fix rotations when using xrandrJérémie Courrèges-Anglas
2016-11-23define HAVE_XRANDR/link with libXrandr when we actually want toJérémie Courrèges-Anglas
2016-11-23Only call xrandr_fill_screen is xrandr is availableJérémie Courrèges-Anglas
2016-11-23Keep on handling ConfigureNotify if we don't have xrandrJérémie Courrèges-Anglas
2016-11-23Kill superflous var.Jérémie Courrèges-Anglas
2016-11-23Reinstate code that should stay: we may not have xrandrJérémie Courrèges-Anglas
2016-11-23Sprinkle more debug in xrandr code.Jérémie Courrèges-Anglas
2016-11-22Use a different tarball name for xrandr support.Jérémie Courrèges-Anglas
2016-11-22autotools: xkb is an external package -> --with[out]-xkbJérémie Courrèges-Anglas
2016-11-22Temporarily mark sfrestore as brokenJérémie Courrèges-Anglas
2016-11-22Style nits, typo and non-existing functions.Jérémie Courrèges-Anglas
2016-11-21Only use xrandr if Xrandr init succeedsJérémie Courrèges-Anglas
2016-11-21Replace extra definition with a declarationJérémie Courrèges-Anglas
2016-11-21autotools: detect precisely Xrandr supportJérémie Courrèges-Anglas
Bail out if xrandr support can't be found but the user explicitely requested it.
2016-11-21libXext isn't usedJérémie Courrèges-Anglas
2016-11-17Add xrandr supportMathieu OTHACEHE
Drop deprecated xinerama support and replace it with xrandr. Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
2016-11-11Debug statement that snuck in previous.Jérémie Courrèges-Anglas
2016-11-11Introduce multiple completion styles.Mathieu OTHACEHE
The default, legacy style is named BASIC. A new completion style named SUBSTRING is added. Use SUBSTRING for window name completion in select command. Use BASIC everywhere else.
2016-08-28NEWS entries for 1.4.9Jérémie Courrèges-Anglas
2016-06-12Simplify config file open checksJérémie Courrèges-Anglas
2016-06-12Read the system config even if the homedir can't be found.Jérémie Courrèges-Anglas
2016-06-12No need for getopt_long to return the index for long option parametersJérémie Courrèges-Anglas
2016-06-12Zero out struct sigaction instead of setting known fields.Jérémie Courrèges-Anglas
2016-06-12sigaction should always replace the signal handlerJérémie Courrèges-Anglas
The code is confusing, there is no reason to skip setting the handler if it is already set to SIG_IGN, especially now that SIG_IGN isn't used in ratpoison.
2016-06-12sigaction has other benefits than working on SVR4 systemsJérémie Courrèges-Anglas
2016-06-12Print a more readable error message if sigaction failsJérémie Courrèges-Anglas
2016-06-12set_sig_handler isn't used only for SIGALRMJérémie Courrèges-Anglas
2016-06-12Stop embedding build time, it makes builds less reproducible.Jérémie Courrèges-Anglas
2016-02-23Fix select error handling.brainwash
Skip the error message and only show the window list when selecting an used window number in interactive mode.
2015-06-16New settable variable, framemsgwaitJérémie Courrèges-Anglas
Same as "msgwait" for for "Current Frame" messages.
2015-06-16Make msgwait a variable; keep the command for a whileJérémie Courrèges-Anglas
2015-02-05Document that dedicate can take an argument.Jérémie Courrèges-Anglas
2015-02-05Be more strict about what "dedicate" acceptsJérémie Courrèges-Anglas
No argument or... either 0 or 1. Will perhaps make debugging easier.
2015-01-08Fix double free at exit time.Jérémie Courrèges-Anglas
On Ubuntu (system used by the problem reporter) this is a double free, on OpenBSD with S in malloc.conf it ends in a SIGBUS probably because of the aggressive junking.
2014-12-31Third try at cleaning set_active_window_bodyJérémie Courrèges-Anglas
Delete the weird logic and the nested loops. Use a true helper function, don't just move code around.
2014-12-31Style fixes in set_active_window_bodyJérémie Courrèges-Anglas
* Delete useless parens * Sprinkle whitespace * No "if (cond) statement;" on a single line (items from the GNU coding standards, cf. README.developers) Additionally, * Don't mix code and decls, for consistency * Compare pointers against NULL
2014-12-30Refactor duplicate branches of if() into a single block with leading ?:.Jeff Abrahamson
2014-12-30Move to ratpoison-1.4.9-beta.Jérémie Courrèges-Anglas
2014-09-17Comment on why XKeycodeToKeysym is still needed.Jérémie Courrèges-Anglas
Prodded by Jeff Abrahamson.
2014-09-15Plug memory leak in xineramaJérémie Courrèges-Anglas
If there is only one Xinerama screen we do not care about Xinerama but we should still free resources we just obtained.
2014-09-15Correct tortuous comparison that triggers warningsJérémie Courrèges-Anglas
The code was actually correct but boy, this is no way to write a comparison. XineramaQueryVersion() returns zero on failure, so compare against that. Not False, not Success, not Maybe.