Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-08 | Bump to xrandr3. | Jérémie Courrèges-Anglas | |
2016-12-08 | Store RootWindow in global_screen structure | Mathieu OTHACEHE | |
Every screen stores a copy of xrandr RootWindow even if they all share the same RootWindow. This patch stores the RootWindow in a global location for all screens. Further work is required to remove RootWindow from per screen structure. | |||
2016-12-08 | Select xrandr primary screen at startup if possible | Mathieu OTHACEHE | |
If xrandr support is enabled and a screen is marked primary, use it as current screen at startup. Otherwise, use the first screen in sorted screen list as current screen at startup. | |||
2016-12-08 | Simplify scanwins function | Mathieu OTHACEHE | |
Use find_screen_by_attr function, remove screen argument and a useless debug message. | |||
2016-12-08 | Add a function to find a screen matching a given XWindowAttributes | Mathieu OTHACEHE | |
It allows to find the screen associated to a Window, using it's x and y position. | |||
2016-12-08 | Add primary screen detection | Mathieu OTHACEHE | |
The user may specify that a screen is primary with xrandr. Save this information in ratpoison for future use. The use of XRRGetOutputPrimary forces us to bump xrandr supported revision from >=1.2 to >=1.3. | |||
2016-12-08 | Move function declaration to the right header | Mathieu OTHACEHE | |
find_screen is defined in screen.c so it makes more sense to declare it in screen.h | |||
2016-12-08 | Remove useless argument from is_rp_window_for_screen function | Mathieu OTHACEHE | |
The screen argument is useless as this function operates on all screens. To find if a window belong to a specific ratpoison screen, function is_rp_window_for_given_screen may be used. | |||
2016-12-01 | Bump to ratpoison-1.4.9-xrandr2 | Jérémie Courrèges-Anglas | |
2016-12-01 | Fix and simplify sfrestore | Jérémie Courrèges-Anglas | |
Use a scratch buffer for each screen, this simplifies a lot allocations and iterations, and allows restoring screens that contain more than one frame. | |||
2016-12-01 | sfrestore: in case of error, mention the screen number, not its xrandr id | Jérémie Courrèges-Anglas | |
2016-12-01 | sfrestore: partial fix for frame allocation/deallocation | Jérémie Courrèges-Anglas | |
There is still a problem with allocation of screens vs frames. A screen can have multiple frames (for now this triggers a segfault). | |||
2016-12-01 | sselect: print the screen number in case of failure | Jérémie Courrèges-Anglas | |
2016-12-01 | Callers shouldn't pass a negative number to screen_number() | Jérémie Courrèges-Anglas | |
2016-12-01 | fdump: don't segfault if screen is not found | Jérémie Courrèges-Anglas | |
2016-12-01 | Tighten screen sorting: comparing a screen with itself should return 0 | Jérémie Courrèges-Anglas | |
2016-12-01 | Kill gcc uninitialized warning | Mathieu OTHACEHE | |
It is useless to initialize screen_count, but it prevents a gcc warning. | |||
2016-12-01 | Add height dimension to screen sorting | Mathieu 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-01 | Fix sfrestore | Mathieu OTHACEHE | |
Use screen numset in sfrestore | |||
2016-12-01 | Fix sfdump | Mathieu OTHACEHE | |
Use screen numset in sfdump | |||
2016-12-01 | Fix fdump and sselect | Mathieu OTHACEHE | |
Use screen numset in fdump and sselect. | |||
2016-12-01 | Assign a number to each screen using a numset | Mathieu 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-24 | Kill gcc unused function warning | Mathieu OTHACEHE | |
The xrandr_rotation_string function is used only if DEBUG is enabled. | |||
2016-11-24 | Tweak 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-23 | Fix rotations when using xrandr | Jérémie Courrèges-Anglas | |
2016-11-23 | define HAVE_XRANDR/link with libXrandr when we actually want to | Jérémie Courrèges-Anglas | |
2016-11-23 | Only call xrandr_fill_screen is xrandr is available | Jérémie Courrèges-Anglas | |
2016-11-23 | Keep on handling ConfigureNotify if we don't have xrandr | Jérémie Courrèges-Anglas | |
2016-11-23 | Kill superflous var. | Jérémie Courrèges-Anglas | |
2016-11-23 | Reinstate code that should stay: we may not have xrandr | Jérémie Courrèges-Anglas | |
2016-11-23 | Sprinkle more debug in xrandr code. | Jérémie Courrèges-Anglas | |
2016-11-22 | Use a different tarball name for xrandr support. | Jérémie Courrèges-Anglas | |
2016-11-22 | autotools: xkb is an external package -> --with[out]-xkb | Jérémie Courrèges-Anglas | |
2016-11-22 | Temporarily mark sfrestore as broken | Jérémie Courrèges-Anglas | |
2016-11-22 | Style nits, typo and non-existing functions. | Jérémie Courrèges-Anglas | |
2016-11-21 | Only use xrandr if Xrandr init succeeds | Jérémie Courrèges-Anglas | |
2016-11-21 | Replace extra definition with a declaration | Jérémie Courrèges-Anglas | |
2016-11-21 | autotools: detect precisely Xrandr support | Jérémie Courrèges-Anglas | |
Bail out if xrandr support can't be found but the user explicitely requested it. | |||
2016-11-21 | libXext isn't used | Jérémie Courrèges-Anglas | |
2016-11-17 | Add xrandr support | Mathieu OTHACEHE | |
Drop deprecated xinerama support and replace it with xrandr. Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com> | |||
2016-11-11 | Debug statement that snuck in previous. | Jérémie Courrèges-Anglas | |
2016-11-11 | Introduce 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-28 | NEWS entries for 1.4.9 | Jérémie Courrèges-Anglas | |
2016-06-12 | Simplify config file open checks | Jérémie Courrèges-Anglas | |
2016-06-12 | Read the system config even if the homedir can't be found. | Jérémie Courrèges-Anglas | |
2016-06-12 | No need for getopt_long to return the index for long option parameters | Jérémie Courrèges-Anglas | |
2016-06-12 | Zero out struct sigaction instead of setting known fields. | Jérémie Courrèges-Anglas | |
2016-06-12 | sigaction should always replace the signal handler | Jé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-12 | sigaction has other benefits than working on SVR4 systems | Jérémie Courrèges-Anglas | |
2016-06-12 | Print a more readable error message if sigaction fails | Jérémie Courrèges-Anglas | |