Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
0748cc1e
Commit
0748cc1e
authored
3 years ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
No need to resize window just because it moved.
Fixes X11 window dragging blinkiness.
parent
5c1dd9fd
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#2242
passed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/x_events.c
+3
-2
3 additions, 2 deletions
src/conio/x_events.c
with
3 additions
and
2 deletions
src/conio/x_events.c
+
3
−
2
View file @
0748cc1e
...
...
@@ -711,10 +711,11 @@ static int x11_event(XEvent *ev)
case
ConfigureNotify
:
{
int
width
,
height
;
if
(
x11_window_xpos
!=
ev
->
xconfigure
.
x
||
x11_window_ypos
!=
ev
->
xconfigure
.
y
||
x11_window_width
!=
ev
->
xconfigure
.
width
||
x11_window_height
!=
ev
->
xconfigure
.
height
)
{
if
(
x11_window_xpos
!=
ev
->
xconfigure
.
x
||
x11_window_ypos
!=
ev
->
xconfigure
.
y
)
{
x11_window_xpos
=
ev
->
xconfigure
.
x
;
x11_window_ypos
=
ev
->
xconfigure
.
y
;
}
if
(
x11_window_width
!=
ev
->
xconfigure
.
width
||
x11_window_height
!=
ev
->
xconfigure
.
height
)
{
x11_window_width
=
ev
->
xconfigure
.
width
;
x11_window_height
=
ev
->
xconfigure
.
height
;
handle_resize_event
(
ev
->
xconfigure
.
width
,
ev
->
xconfigure
.
height
);
...
...
This diff is collapsed.
Click to expand it.
Deucе
@Deuce
mentioned in commit
9b165510
·
1 year ago
mentioned in commit
9b165510
mentioned in commit 9b165510cb465af2403e014d529925f64c4145a4
Toggle commit list
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