Search
Thursday, 15th of March 2018, 22:01:55 UTC
22:48:47
fiddlerwoaroof_
** NICK fiddlerwoaroof
5:26:10
beach
Good morning everyone!
6:10:11
loke
Haha... I had the bright idea to search for jackrabbit and jackdaneils in the same image
6:10:15
loke
https://i.pinimg.com/236x/b3/42/ae/b342ae100d50ca57e84a1baabb137cc8--jack-rabbit-jack-daniels.jpg
6:10:50
loke
The Internet never ceases to amaze
6:38:49
jackdaniel
slyrus: now (and fully - in 40m)
6:54:01
beach
loke: I admire your ability to find "appropriate" pictures.
6:55:02
loke
beach: I wish I could find a rabbit, a bottle of JD, with a Birch in the background, all on a beach.
6:55:25
loke
But, even though my image-search skills may be mighty, that's where I failed.
6:55:39
beach
You might have to create one.
6:56:00
loke
beach: I may have to :-)
9:47:59
jackdaniel
loke: correct, that's why it's not an option
9:48:06
loke
To requirest positioning at a specific location (may be overridden by the window manager) you use WM_HINTS
9:48:08
beach
Right, so that's the right thing for menus.
9:48:21
beach
For other top-level windows, you need the ICCCM.
9:49:16
loke
I believe you have to set a parameter in WM_NORMAL_HONTS
9:49:33
jackdaniel
I have some more moderate idea: we simply accept, that Xserver mapped us with offset (and while we change sheet-native-transformation, we don't change mirror-transformation or whatever)
9:49:58
loke
https://tronche.com/gui/x/xlib/ICC/client-to-window-manager/wm-normal-hints.html
9:49:58
jackdaniel
that will requier some changes on how we handle configuration events
9:50:31
beach
jackdaniel: Why do we depend on the position of the top-level sheet inside the X root window?
9:50:33
jackdaniel
loke: we already use that
9:51:23
jackdaniel
beach: we don't, but when we invoke layout protocol (in by change-size-requirements), then we set mirror position
9:51:42
jackdaniel
and currently, even if size doesn't change at all, we get dropped by 10;40 with each invocation
9:51:53
beach
We set the mirror position of the top-level window?
9:51:57
jackdaniel
what is very annoying (and indicates incorrect behavior)
9:52:11
jackdaniel
we do that when we have to update mirror geometry
9:52:49
jackdaniel
so if there is no viewport/ scroller pane and sheet exceedes mirror size, what should we do?
9:53:12
beach
We set the mirror size, but not its position.
9:53:14
jackdaniel
swizzle coordinates? error?
9:54:06
jackdaniel
makes sense. that said - it is not implemented that way at the moment
9:54:36
jackdaniel
also we have (setf sheet-transformation)
9:55:05
jackdaniel
which should aim at parent, whom is the root window in case of top-level-sheet
9:55:12
beach
The size of the mirror of the top-level sheet is set when the user changes the size using the pointer.
9:55:38
beach
What business does the application have changing that.
9:56:20
beach
The sheet-region of the top-level window should adapt to the mirror size. Not the other way around.
9:56:33
jackdaniel
regarding size? I've mentioned an example: sheet size requirements change and we don't have it wrapped in scroller pane / viewport
9:57:00
beach
Of the top-level sheet? Why would that happen?
9:57:38
jackdaniel
imagine with have a stream pane without scroll bars (nor viewport nor scroller pane) as a direct child of top-level-sheet
9:57:44
beach
Even if the size requirements change, that doesn't mean they should be respected.
9:57:57
jackdaniel
and we add content until it exceedes sheet size
9:58:03
beach
The requirements only express a desire.
9:58:12
beach
The window manager may or may not respect that.
9:58:39
beach
OK, let's get this straight.
9:58:50
beach
A sheet has an infinite drawing plane.
9:58:59
beach
But its region determines what is visible.
9:59:14
jackdaniel
GB apparently had different idea how min-width should be enforced
9:59:24
beach
But not of the top-level window.
9:59:39
beach
Because the window manager decides that.
10:00:10
jackdaniel
as I said, I tend to agree, I'm just referring what are my finding wrt current implementation
10:00:35
beach
OK, then let's make a plan to change it.
10:01:04
beach
The space requirements express a desire on the part of some pane for its size.
10:01:38
beach
It transmits the requirements to the parent. The parent typically takes siblings into account in order to determine what space is granted.
Friday, 16th of March 2018, 10:01:55 UTC