Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Margin when using i3 tiling WM #1252

Open
krumelmonster opened this issue Nov 4, 2018 · 3 comments
Open

Margin when using i3 tiling WM #1252

krumelmonster opened this issue Nov 4, 2018 · 3 comments

Comments

@krumelmonster
Copy link

When running the spinning-square example, the square isn't centered in the window and, when scaling down the window, margins will be visible at the right and top edge of the window like this:
margins in i3wm
The problem won't occur in xfwm4
no margins in xfwm4

The problem also won't occur if the window is initialized in floating mode (if i3 is configured to open windows in floating, which makes little sense for a tiling wm). The problem however persists if already opened windows are put into floating mode.
The problem won't appear with the glutin examples so it's not a pure glutin issue.

The exact same problem will occur with all the examples in the piston-examples repository

I don't know if the behaviour of tiling wms to ignore the window size requests of clients is standard but it would be nice for piston to work without problems anyways.

@hetake2
Copy link

hetake2 commented Nov 14, 2018

I have the same problem :/

@krumelmonster
Copy link
Author

Thanks. You can work around it by adding

for_window [class="spinning-square"] floating enable

or whatver your application is called to your i3/config to get coding.

@hetake2
Copy link

hetake2 commented Nov 15, 2018

Thanks. You can work around it by adding

for_window [class="spinning-square"] floating enable

or whatver your application is called to your i3/config to get coding.

That didn't help me, the objects in window are not centered and the resolution is not correct, instead of full image I have that grey background, only when I'm resizing window I can see other parts of image, but even starting window in a floating mode, that changes nothing :(

18y-11m-16d-novh11m1542305755s_1920x1080_scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants