Skip to content

Commit

Permalink
Remove documentation, usage messages and examples about sw-opti
Browse files Browse the repository at this point in the history
It have been deprecated.

Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Aug 30, 2020
1 parent 24f0241 commit 5ebac23
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
7 changes: 2 additions & 5 deletions man/picom.1.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ OPTIONS
*--vsync*, *--no-vsync*::
Enable/disable VSync.

*--sw-opti*::
Limit picom to repaint at most once every 1 / 'refresh_rate' second to boost performance. This should not be used with *--vsync* drm/opengl/opengl-oml as they essentially does *--sw-opti*'s job already, unless you wish to specify a lower refresh rate than the actual value.
*--use-ewmh-active-win*::
Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, provided that the WM supports it.

Expand Down Expand Up @@ -440,10 +437,10 @@ $ picom --config /dev/null
$ picom -cCGf
------------

* Same thing as above, plus making inactive windows 80% transparent, making frame 80% transparent, don't fade on window open/close, enable software optimization, and fork to background:
* Same thing as above, plus making inactive windows 80% transparent, making frame 80% transparent, don't fade on window open/close, and fork to background:
+
------------
$ picom -bcCGf -i 0.8 -e 0.8 --no-fading-openclose --sw-opti
$ picom -bcCGf -i 0.8 -e 0.8 --no-fading-openclose
------------

* Draw white shadows:
Expand Down
8 changes: 0 additions & 8 deletions picom.sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,6 @@ detect-client-opacity = true;
# refresh-rate = 60
refresh-rate = 0

# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with
# vsync drm/opengl/opengl-oml
# as they essentially does sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#
# sw-opti =

# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
Expand Down
3 changes: 0 additions & 3 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ static void usage(const char *argv0, int ret) {
"--paint-on-overlay\n"
" Painting on X Composite overlay window.\n"
"\n"
"--sw-opti\n"
" Limit repaint to at most once every 1 / refresh_rate second.\n"
"\n"
"--use-ewmh-active-win\n"
" Use _NET_WM_ACTIVE_WINDOW on the root window to determine which\n"
" window is focused instead of using FocusIn/Out events.\n"
Expand Down

0 comments on commit 5ebac23

Please sign in to comment.