Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glfw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
glfw
Commits
b1fd3c00
Commit
b1fd3c00
authored
10 years ago
by
Camilla Löwy
Browse files
Options
Downloads
Patches
Plain Diff
Removed duplicate window position clearing.
parent
c700978c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/wl_window.c
+2
-7
2 additions, 7 deletions
src/wl_window.c
with
2 additions
and
7 deletions
src/wl_window.c
+
2
−
7
View file @
b1fd3c00
...
@@ -157,16 +157,11 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
...
@@ -157,16 +157,11 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
void
_glfwPlatformGetWindowPos
(
_GLFWwindow
*
window
,
int
*
xpos
,
int
*
ypos
)
void
_glfwPlatformGetWindowPos
(
_GLFWwindow
*
window
,
int
*
xpos
,
int
*
ypos
)
{
{
// A Wayland client is not aware of its position, so just warn and
set
it
// A Wayland client is not aware of its position, so just warn and
leave
it
//
to
(0, 0)
//
as
(0, 0)
_glfwInputError
(
GLFW_PLATFORM_ERROR
,
_glfwInputError
(
GLFW_PLATFORM_ERROR
,
"Wayland: Window position retreival not supported"
);
"Wayland: Window position retreival not supported"
);
if
(
xpos
)
*
xpos
=
0
;
if
(
ypos
)
*
ypos
=
0
;
}
}
void
_glfwPlatformSetWindowPos
(
_GLFWwindow
*
window
,
int
xpos
,
int
ypos
)
void
_glfwPlatformSetWindowPos
(
_GLFWwindow
*
window
,
int
xpos
,
int
ypos
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment