Can not toggle fullscreen with Alt+Enter or resize with w.m.
Bug #536500 reported by
Sigra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
It is not possible to toggle fullscreen mode with Alt+Enter or resize a window with the window manager. Other SDL applications like openttd can do this just fine.
Related branches
lp:~widelands-dev/widelands/fix_some_resizing_bugs
- Tino: Approve
-
Diff: 644 lines (+154/-171)13 files modifiedsrc/editor/editorinteractive.cc (+1/-1)
src/graphic/graphic.cc (+79/-73)
src/graphic/graphic.h (+26/-11)
src/graphic/text/test/render_richtext.cc (+1/-2)
src/logic/map_info.cc (+1/-2)
src/logic/ware_descr.cc (+1/-1)
src/notifications/note_ids.h (+2/-0)
src/wlapplication.cc (+18/-60)
src/wlapplication.h (+1/-6)
src/wui/interactive_base.cc (+14/-10)
src/wui/interactive_base.h (+8/-3)
src/wui/interactive_player.cc (+1/-1)
src/wui/interactive_spectator.cc (+1/-1)
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in widelands: | |
assignee: | Timowi (timo-wingender) → nobody |
Changed in widelands: | |
status: | Won't Fix → Confirmed |
status: | Confirmed → In Progress |
assignee: | nobody → SirVer (sirver) |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You could try this:
Index: src/wlapplicati on.cc ======= ======= ======= ======= ======= ======= ======= ======= ==== on.cc (wersja 3428) on.cc (kopia robocza) fullscreen( );
=======
--- src/wlapplicati
+++ src/wlapplicati
@@ -473,6 +473,14 @@
switch (ev.type) {
case SDL_KEYDOWN:
case SDL_KEYUP:
+ if (ev.key.keysym.sym == SDLK_F9)
+ {
+ if (ev.type == SDL_KEYDOWN)
+ {
+ g_gr->toggle_
+ }
+ break;
+ }
if (ev.key.keysym.sym == SDLK_F10) // TEMP - get out of here quick
{
if (ev.type == SDL_KEYDOWN)