The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

How do I prevent i3 from refreshing window's contents while dragging?

asked 2014-02-21 10:41:21 +0000

smiszym gravatar image

On my desktop dragging a floating window with mouse is laggy (not smooth). The window moves much slower than the cursor and I must wait for it to arrive at desired position. (probably my graphics card is very slow)

Some window managers I had used before allowed the user to disable refreshing window contents while dragging/resizing, so that only a border appeared. One could drag that border around and the screen (the window itself as well as windows behind it) was redrawn after releasing the mouse button.

Does i3 provide such a feature?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-21 13:20:56 +0000

Adaephon gravatar image

updated 2014-02-21 13:21:41 +0000

At the moment there is no such feature.

The floating mode in i3 is mainly intended for popups and the odd application that does not like to be resized. Therefore quite a lot features known from other (floating) window managers are not available and probably never will.

If you need to move windows quite often, consider to (re)map some keybindings:

bindsym $mod+Shift+Up move up 200
bindsym $mod+Shift+Down move down 200
bindsym $mod+Shift+Left move left 200
bindsym $mod+Shift+Right move right 200

This moves floating windows 200 pixel in the given direction. Tiled windows will ignore the number and just move windows one position in the given direction as before. As windows are directly placed at the new position, that reduces the need for redraws.


For more flexibility, have a look at xdotool

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-02-21 10:41:21 +0000

Seen: 341 times

Last updated: Feb 21 '14