ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] [PATCH 0/7] Add xrandr primary screen support


From: Mathieu OTHACEHE
Subject: [RP] [PATCH 0/7] Add xrandr primary screen support
Date: Wed, 7 Dec 2016 10:03:51 +0100

This patch add support for xrandr primary screen detection.
If any primary screen is detected at startup, it will be used as current screen.

Mathieu OTHACEHE (7):
  Remove useless argument from is_rp_window_for_screen function
  Move function declaration to the right header
  Add primary screen detection
  Store RootWindow in global_screen structure
  Add a function to find a screen matching a given XWindowAttributes
  Simplify scanwins function
  Select xrandr primary screen at startup if possible

 src/data.h      |  2 ++
 src/events.c    |  2 +-
 src/main.c      |  8 +-------
 src/manage.c    | 27 ++++++++++++---------------
 src/manage.h    |  2 +-
 src/ratpoison.h |  1 -
 src/screen.c    | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
 src/screen.h    |  5 ++++-
 src/xrandr.c    | 15 ++++++++++++++-
 src/xrandr.h    |  1 +
 10 files changed, 83 insertions(+), 28 deletions(-)

-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]