Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Gnome autoscaling  (Read 2043 times)

0 Members and 2 Guests are viewing this topic.

catalinnic

  • Newbie
  • *
  • Posts: 19
    • View Profile
Gnome autoscaling
« on: September 21, 2019, 01:35:06 pm »
I'm creating a game, but when i open it Gnome sets the resolution of the window to 1280x963 when it need to be 1280x768.
Source code: https://github.com/CatalinNic1/The-Spell-Remake

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Gnome autoscaling
« Reply #1 on: September 21, 2019, 05:25:42 pm »
To be clear, do you mean that the resolution of the 'client' part of the window (the bit you can draw to) is the wrong value or the 'full' size of the window (including title bar, for example) is that value?
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

catalinnic

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Gnome autoscaling
« Reply #2 on: September 21, 2019, 05:53:50 pm »
Just the 'client' part.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Gnome autoscaling
« Reply #3 on: September 21, 2019, 08:13:25 pm »
Are you using some tiling software for your windows?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

catalinnic

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Gnome autoscaling
« Reply #4 on: September 22, 2019, 09:35:08 am »
No, I don't use any tiling software

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Gnome autoscaling
« Reply #5 on: September 22, 2019, 01:53:13 pm »
What SFML version are you using?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

catalinnic

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Gnome autoscaling
« Reply #6 on: September 22, 2019, 05:00:49 pm »
Version 2.5.1-1