943 Commits

Author SHA1 Message Date
benutzer193
8e26b13578
If window is not present, create window 2019-01-26 17:49:20 +01:00
Sunderland93
cd35fb9440 Change prev_width and prev_height to unsigned int 2019-01-20 22:12:05 +04:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Sunderland93
dba9781f26 Fix toggle fullscreen 2019-01-12 22:18:31 +04:00
Greg V
b52a5ae664 Remove trailing whitespace in wayland_ctx.c
vim has been helpfully doing this for me every time I saved the file
and I've had to manually ignore these changes when committing.
Let's just commit this.
2019-01-11 20:37:59 +03:00
twinaphex
01b2b9c3a6 Buildfix 2019-01-09 01:01:03 +01:00
Twinaphex
ac04c1bfc5
Merge pull request #7892 from Datamats/libnx_nwindow
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-08 23:36:20 +01:00
Twinaphex
d2f7853d49
Merge branch 'master' into more-wayland 2019-01-08 21:45:43 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Mats
462a4b24fd libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api 2019-01-07 15:03:44 +01:00
Greg V
e36bf32490 Wayland: track current output and its scale
Ideally, we would track all outputs we're on and choose the highest DPI among them,
but that is pretty difficult. Let's at least use the latest output we've entered
as the current one.
2019-01-04 01:58:44 +03:00
Greg V
60c8f51009 Wayland: keep track of all outputs (displays)
Required to support multiple monitors with varying scales (HiDPI/LoDPI)
2019-01-04 00:37:02 +03:00
Greg V
056c7fffe1 Wayland: consistently store wl->width/height unscaled
No functional change
2019-01-03 23:43:36 +03:00
Greg V
b7a13a02cb Wayland: use lowercase 'retroarch' as app_id
It should match the name of the .desktop file.
2019-01-03 22:16:55 +03:00
Greg V
c151ad1bb2 Wayland: remove bogus condition
Pointy hat: @sardemff7
2019-01-03 22:15:48 +03:00
Sunderland93
d374e8415f Fix drag with "Alt" key on non xdg_wm_base shell's 2019-01-03 22:54:01 +04:00
Greg V
a9a53fdb64 Wayland: create fullscreen Vulkan surface multiplied by the scale 2019-01-01 02:43:59 +03:00
Greg V
6d943e10a6 Wayland: unbreak Vulkan after fixing HiDPI resizing 2019-01-01 02:38:14 +03:00
Twinaphex
eaef091915
Merge pull request #7855 from myfreeweb/wayland-hidpi-resize
Wayland: Fix window resizing on HiDPI monitors
2019-01-01 00:35:16 +01:00
M4xw
a2eaa6a19d [LIBNX] Native 1080p support 2019-01-01 00:26:18 +01:00
Greg V
c901866864 Wayland: Fix window resizing on HiDPI monitors 2019-01-01 02:23:39 +03:00
Francisco José García García
1b35b75d45 [ORBIS] Fix height / width typo 2018-12-31 00:07:39 +01:00
Francisco José García García
c56e9b1ff6 [ORBIS] eglSwapInterval workaround 2018-12-30 14:01:10 +01:00
Francisco José García García
d34b94a661 [ORBIS] Several EGL and GL fixes 2018-12-30 00:11:53 +01:00
Francisco José García García
48167d46bc [ORBIS] Initial video context driver 2018-12-28 01:27:13 +01:00
Themaister
868465ad01 EGL: Add callback to select EGLConfig.
A more robust fix for DRM/GBM shenanigans.
2018-12-11 20:12:25 +01:00
Sunderland93
830882e296 Merge branch 'server-decorations' 2018-12-09 19:03:57 +04:00
Sunderland93
d1c15efc24 Revert "Add KDE's server-decoration protocol as fallback (for KDE)"
This reverts commit 058a880a8b1cffecb5be9b53b4846563e57e4b14.
2018-12-09 18:47:47 +04:00
Sunderland93
058a880a8b Add KDE's server-decoration protocol as fallback (for KDE) 2018-12-09 18:42:45 +04:00
Sunderland93
f45154f15c Add support for zxdg_decoration_manager_v1 2018-12-09 14:56:36 +04:00
Sunderland93
f960144212 Merge branch 'fallback' into 'master' 2018-12-05 23:23:02 +04:00
Twinaphex
5e74115a41
Merge pull request #7676 from Sunderland93/master
Wayland: fixes
2018-12-05 20:15:54 +01:00
Sunderland93
dc94886664 Initial support for xdg-decoration-unstable-v1 2018-12-05 22:51:07 +04:00
Sunderland93
e12caa94d4 Style fixes 2018-12-05 22:36:37 +04:00
Sunderland93
dcec570d05 Style fix 2018-12-05 21:20:15 +04:00
Sunderland93
72eb7c4f59 Temp fix resizing 2018-12-03 14:48:13 +04:00
Sunderland93
2b6fbbdfe0 Temp fix resizing 2018-12-03 14:46:57 +04:00
Sunderland93
9b0bad5d9f Add zxdg_shell_v6 and wl_shell ad fallback interfaces 2018-12-03 14:32:31 +04:00
Sunderland93
eda342262b Fix 2018-12-02 21:15:57 +04:00
Aleksey Samoilov
3d159d424e
Cleanup 2018-12-02 17:53:03 +04:00
Sunderland93
0f5729354e Initial support for toplevel resizing 2018-11-30 21:36:42 +04:00
Sunderland93
d81e9a08b2 Add toplevel width and height 2018-11-28 17:59:06 +04:00
natinusala
9cad7135a9 libnx: implement focus gain and loss callbacks 2018-11-28 14:11:42 +01:00
Sunderland93
1e097b0e1d Implement xdg_toplevel_close event 2018-11-28 13:58:14 +04:00
Twinaphex
7a174d290e
Merge pull request #7655 from Sunderland93/master
[Wayland] Implement idle-inhibit support
2018-11-26 19:25:46 +01:00
Sunderland93
b538786b00 Implement zwp_idle_inhibit_v1 protocol 2018-11-26 21:54:39 +04:00
twinaphex
098e62067e Small cleanups 2018-11-26 13:37:35 +01:00
twinaphex
7d9e564667 Turn some C++ comments into C comments 2018-11-24 19:40:14 +01:00
Sunderland93
17fd203141 Waiting for the "initial" set of globals to appear
(fixed xdg_wm_base_ping working)
2018-11-24 20:52:22 +04:00