Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title bar not hidden #432

Open
lennartack opened this issue May 3, 2024 · 2 comments · May be fixed by #433
Open

Title bar not hidden #432

lennartack opened this issue May 3, 2024 · 2 comments · May be fixed by #433

Comments

@lennartack
Copy link

I'm on Debian 12.5 and Mate 1.26. When I run tdrop it creates a normal window with a title bar and an entry in the window list.

I want the title bar to be removed and the window to not appear in the window list on mate-panel.

$ tdrop -a --debug alacritty
2024-05-03 23:00:22 Debug window manager: (Marco)
2024-05-03 23:00:22 Debug command: toggle alacritty
2024-05-03 23:00:22 Debug Clearing stored wid from /tmp/tdrop_lennart_:0/wids/alacritty since wid 113246212 no longer exists
2024-05-03 23:00:22 Debug pid: 1044250
2024-05-03 23:00:22 Debug blacklist: 58720260
2024-05-03 23:00:22 Debug wids: 113246212
2024-05-03 23:00:22 Debug picked wid: 113246212
$ tdrop --wm=marco --debug alacritty
2024-05-03 23:03:46 Debug command: toggle alacritty
2024-05-03 23:03:46 Debug Clearing stored wid from /tmp/tdrop_lennart_:0/wids/alacritty since wid 113246212 no longer exists
2024-05-03 23:03:46 Debug pid: 1044988
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  15 (X_QueryTree)
  Resource id in failed request:  0x2cbcfad
  Serial number of failed request:  990
  Current serial number in output stream:  990
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x2cbd10e
  Serial number of failed request:  293
  Current serial number in output stream:  293
2024-05-03 23:03:46 Debug blacklist: 58720260
2024-05-03 23:03:46 Debug wids: 113246212
2024-05-03 23:03:46 Debug picked wid: 113246212
@noctuid
Copy link
Owner

noctuid commented May 4, 2024

I want the title bar to be removed and the window to not appear in the window list on mate-panel.

Is that something you can do normally without tdrop and how if so?

@lennartack
Copy link
Author

@noctuid Thanks for your reply.

I want the title bar to be removed and the window to not appear in the window list on mate-panel.

Is that something you can do normally without tdrop and how if so?

I think so. Other dropdown terminals such as guake do it. I found a way to remove the title bar with tdrop:

tdrop -h "50%" -P 'xprop -id $(xdotool getactivewindow) -format _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS 2; xdotool windowmove $(xdotool getactivewindow) 0 0' -s dropdown alacritty

But it doesn't work great. As you can see I need to move the window again to the top just after removing the title bar, which is visible.

Example of desired behaviour with guake:
Screenshot at 2024-05-05 19-59-35

tdrop default on my system:
Screenshot at 2024-05-05 20-01-17
So this is expected behaviour?

@lennartack lennartack linked a pull request May 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants