Jente Hidskes
85d84a1a04
backend/x11 & backend/wayland: make set_title NULL-safe
...
Set the default "wlroots - " title when the title argument to the
set_title functions is NULL. Otherwise, for at least the Wayland
backend, we'd crash because xdg_toplevel_set_title doesn't handle a NULL
pointer.
6 years ago
Jente Hidskes
edf0e49195
Add wlr_x11_output_set_title
6 years ago
Scott Anderson
d3ee69f76b
backend/x11: Hide cursor with Xfixes
6 years ago
Scott Anderson
70ae76304e
backend/x11: Remove old input functions
...
This also allows us to remove xcb-xkb, since Xinput will now give us the
appropriate XKB modifiers with each event.
6 years ago
Scott Anderson
d89e868cc9
backend/x11: Add new Xinput events
6 years ago
Scott Anderson
ab2c57984b
backend/x11: Make header order consistent
6 years ago
Scott Anderson
51a283cbe4
backend/x11: Rename xcb_conn to xcb
...
When the Xlib connection is removed, this _conn suffix is going to be
pointless. I'm removing this preemtively for that.
6 years ago
emersion
eac7c2ad2f
output: add presentation refresh prediction
6 years ago
emersion
26b9d6dbb1
output: send present event from all backends
6 years ago
emersion
02231554c8
backend/x11: add assertions
6 years ago
sdilts
8e7df5eb88
Fix xcb_create_window parameters
...
Set the window width and height, not the location of the window.
6 years ago
sdilts
da79fef5f7
Add guard for changing the size of X11 backend windows
...
Events that set the window to either a width or height of zero are now
ignored and logged.
6 years ago
sdilts
55cca6deaa
Set default output size for X11 backend
...
Fixes issue #1170
Also set the created window size to match the output size.
6 years ago
Guido Günther
e463b49166
x11: Check if xcb_configure_window worked
...
So far we did not check for any errors
7 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
emersion
62d7337d00
backend/x11: add one pointer per output
7 years ago
emersion
71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion
eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
Uli Schlachter
52b058c2a3
x11 backend: Do not set a back pixel on windows
...
Before this commit, the x11 server would fill any exposed area with
white before the wlroots x11 backend got a chance to do anything. This
was e.g. visible when running rootston and resizing the window: When the
window becomes larger, the new area is filled with black.
By just not setting a back pixel value, this commit gets rid of this
behaviour.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
emersion
03563b61a8
backend/{x11,headless}: use default if supplied refresh is invalid
7 years ago
emersion
2d6bbf12f8
backend/{x11,headless}: fix refresh rate
7 years ago
emersion
9609985f29
backend/x11: fix cursor position when receiving configure event
7 years ago
Drew DeVault
8b37e8f67a
Merge pull request #792 from emersion/x11-backend-blank-cursor
...
backend/x11: hide cursor
7 years ago
emersion
37aae0b2cd
backend/x11: flush after destroying window
...
Otherwise the destroy message is kept buffered and never reaches
the X11 server. Thanks X11.
7 years ago
emersion
7b88ace557
backend/x11: hide cursor
7 years ago
emersion
0a7a8cbd1c
backend/x11: add WLR_X11_OUTPUTS support
7 years ago
emersion
d4f7ced6e2
backend/x11: refactor, prepare support for multiple outputs
7 years ago